Re: linux-next: build failure after merge of the staging tree

From: Greg KH
Date: Tue Mar 07 2017 - 07:34:31 EST


On Tue, Mar 07, 2017 at 08:49:47PM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> On Tue, 7 Mar 2017 09:47:29 +0100 Greg KH <greg@xxxxxxxxx> wrote:
> >
> > I really can't duplicate this here, but you and the kbuild bot are
> > hitting this now. in drivers/staging/media/atomisp/Makefile we have:
> > LINUXINCLUDE += -I drivers/staging/media/atomisp/include/
> > to point the include path at where atomisp_gmin_platform.h is at.
> >
> > So I don't understand what is going on here. Alan, any hints?
>
> I use a separate object dir (O=...) so maybe you need
>
> LINUXINCLUDE += -I$(srctree)/drivers/staging/media/atomisp/include/

Ah! yeah, using LINUXINCLUDE sucks, I'll go make all of those include
files relative references to make just building a subdir work properly.

thanks for the pointer, this should get fixed in my tree soon...

greg k-h