From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9077746609642013384==" MIME-Version: 1.0 From: Grumbach, Emmanuel To: kbuild-all@lists.01.org Subject: Re: [iwlwifi-next:pending 2/37] drivers/net/wireless/intel/iwlwifi/mei/trace.h:14:10: fatal error: mei/sap.h: No such file or directory Date: Wed, 23 Jun 2021 03:26:05 +0000 Message-ID: In-Reply-To: List-Id: --===============9077746609642013384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > = > On 6/22/21 11:35 AM, Grumbach, Emmanuel wrote: > >>>> Could this be a random issue with the bot? > >>> Hi Luca, > >>> > >>> The reproduce step is not inaccurate and misleading, I can reproduce > >>> it with out-of-tree builds. > >> Sorry, 'not' is redundant, the reproduce step is wrong. > >> > > Reproduce step is wrong? > > In an case, sap.h is there. So really, I can't understand how this erro= r can > happen. > = > Hi Grumbach, > = > It can be reproduced with out-of-tree builds: > = > =C2=A0=C2=A0 make ARCH=3Di386 -C source O=3D$(pwd) --keep-going > = > and I tried to add $(srctree), the problem can be fixed. > = > --- a/drivers/net/wireless/intel/iwlwifi/mei/Makefile > +++ b/drivers/net/wireless/intel/iwlwifi/mei/Makefile > @@ -3,6 +3,6 @@ obj-$(CONFIG_IWLMEI)=C2=A0=C2=A0=C2=A0 +=3D iwlmei.o > =C2=A0iwlmei-y +=3D main.o > =C2=A0iwlmei-y +=3D net.o > =C2=A0iwlmei-$(CONFIG_IWLWIFI_DEVICE_TRACING) +=3D trace.o -CFLAGS_trace= .o > :=3D -I$(src) > +CFLAGS_trace.o :=3D -I$(srctree)/$(src) > = > -ccflags-y +=3D -I$(src)/../ > +ccflags-y +=3D -I$(srctree)/$(src)/../ Hmm... interesting, not sure I understand the difference between srctree an= d src Looks like the kernel is more using srctree though.. --===============9077746609642013384==--