Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1252132imm; Wed, 13 Jun 2018 16:22:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKaxsIDJaaOE4Hui5P+FUrJZIbLAr1LKCUf7yg9xyDjs3v2GrbJO414PbYza1HV61crLVX5 X-Received: by 2002:a65:520c:: with SMTP id o12-v6mr168487pgp.15.1528932169193; Wed, 13 Jun 2018 16:22:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528932169; cv=none; d=google.com; s=arc-20160816; b=qlV3kc3K9azN+hs/GYatnwNpAggTJucOvMpyCWcC1qXUovNML69U7e8f4Ifn4lCAqP kFQbfgcD1Lt8mu0VnsYwJbeu89v9b1kHGmxJrgi1Vi78TppYRkpBW+/mhE5m8kwVyK3W Kmuw0nFCK/bd2+1G5+vONJb4gy7Xlvyvqltc41ExLhfCkpEcLKo0nPWI0xl3cfFTTb6g 9H7G5qT6wOtzvuYb8z9iMmeV8L2aFWSh1ahcjh4D61uuZcGNijN+0TSiTtxBgIxMyX1D xCJFJl0nbszyqG94vvUpwoHLYlAe9v1eqWfoXjrrK5kxpMZWEKILU2vweAzxZs2Hhe8G hOIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from:arc-authentication-results; bh=9atJefUALIQCDVMUpRyYxmbqyzbeiqd/xEUggu8+QYg=; b=TL/150UiTTRUBMD0zae+IWAcZkQMihodJJs7YxpkHeLpuNCnm0IYgwLhVuToax+uJH ZiW9SmTAjL2N2P4wFeiVxq4u5fiMwcfk4bZtbfe2s2vSGjJzB8750bq1gMwnUHQu5iTB eFPVqKSBR9U8KCnc4aD0LLjo2uqEEiUWGNoD1nzUgQEpL20/89wcNWl4tHyfAXvMys/s bkrcdFd4jwraXDRAuVtx4U2+z0Dnvk9/4drx5PxQzv4SmOADRjGzwtVbqucKgG1wsSVu oU1ueKv/snKbzXNQ0bAQ2QWFtRff9Wc2f825GI5Th+uTnfsSt20WnYuXT8dnvgF7crjP h34w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a16-v6si3631074pff.43.2018.06.13.16.22.20; Wed, 13 Jun 2018 16:22:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935778AbeFMXVq (ORCPT + 99 others); Wed, 13 Jun 2018 19:21:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:35280 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935540AbeFMXVp (ORCPT ); Wed, 13 Jun 2018 19:21:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 171D8AC25; Wed, 13 Jun 2018 23:21:44 +0000 (UTC) From: NeilBrown To: James Simmons Date: Thu, 14 Jun 2018 09:21:37 +1000 Cc: Oleg Drokin , Andreas Dilger , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH 11/11] staging: lustre: centralize setting of subdir-ccflags-y In-Reply-To: References: <152826510267.16761.14361003167157833896.stgit@noble> <152826511930.16761.12770722873423628004.stgit@noble> Message-ID: <871sdai872.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, Jun 13 2018, James Simmons wrote: >> We don't need to set subdir-ccflags-y in every Makefile. >> The whole point of the "subdir-" bit is that the setting >> can go once in the top-level Makefile. >>=20 > > Nak: When attempting to build individual components I get: > > ~/lustre-upstream$ make SUBDIRS=3Ddrivers/staging/lustre/lustre/lmv modul= es=20 > -j 16 > > WARNING: Symbol version dump ./Module.symvers > is missing; modules will have no dependencies and modversions. > > CC [M] drivers/staging/lustre/lustre/lmv/lmv_obd.o > CC [M] drivers/staging/lustre/lustre/lmv/lmv_intent.o > CC [M] drivers/staging/lustre/lustre/lmv/lmv_fld.o > CC [M] drivers/staging/lustre/lustre/lmv/lproc_lmv.o > drivers/staging/lustre/lustre/lmv/lproc_lmv.c:38:28: fatal error:=20 > lprocfs_status.h: No such file or directory > #include > ^ > compilation terminated. Yes, I noticed that too. Thanks. It seems to suggest that subdir-ccflags-y isn't really a useful macro. Maybe we should stick with cc-flags-y. It is much more widely used. Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlshpwEACgkQOeye3VZi gbmu4A/9EHPDQ9enTDzDYgcKpvfVoptN7WvI2IBTV1Yvtyxa5w244sJMrIzOIAN6 mq1/RexZ7TCDqE5q6R7Z+ylI4++3vIbQ2aZeHzB5eAzRzgdi6Ba4g2wtRFSMaOgq NB+AcoCfru0KRUziocsqvVKc9EJvfmmgpgX3iWwq8VQ5ZTr7C8nnz7gLhk8KI3Eb 1aQhc6REdkRdNzFXqt1SNUv2O0TKYhVN9C2rQI08xXPboRJm3AFJj6WUPkYnCo9w cqJZUPM6Z3fwewHTq8SSg9cJvVNdu37JbKP6msS9z/jzdSn+wgzG9L4wAntTd5ev 3FRs6EkCV+fQ98kL5iLzYkhRnAOAbasOL8hEmPTml4FDteiZpSKoghBIbBA4PLGq 1jhgQyKVdCNmlWq/QkyTCmFMkf+GmOm3yIYCdFukNorKnND46X65hlU26ikQaXEP TvvM7ugR9Fh1XMzl89HSlyJ0/WGOn2UzOE3zsyaxVvIlXibmVxNNkQvwN7TUnJEK 9RAC72XUtcCE8LRzkb6UaJAweFOtQLwF4EG2a67z7c1vcS9zIv/ePTJibmopDvli SlrOH+UyGObdnBL4Bmig+uywBsavcCjYjCp3BfggMcF76mbEGtrWrF0wrfovO2hv 0ScqQroz2PjP7oJHmplAdjFY9ICpBNgXrgP1JZWBR9EOzFzQsIo= =vgTl -----END PGP SIGNATURE----- --=-=-=--