[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091204185142.GB28311@ldl.fc.hp.com>
Date: Fri, 4 Dec 2009 11:51:42 -0700
From: Alex Chiang <achiang@...com>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>, sam@...nborg.org,
mmarek@...e.cz
Subject: Re: kbuild - hostprogs not seeing CONFIG_FOO?
* Randy Dunlap <randy.dunlap@...cle.com>:
> On Fri, 4 Dec 2009 11:07:49 -0700 Alex Chiang wrote:
>
> > <stdin>:1519:2: warning: #warning syscall perf_event_open not implemented
> > <stdin>:1523:2: warning: #warning syscall recvmmsg not implemented
> > <stdin>:1527:2: warning: #warning syscall fanotify_init not implemented
> > <stdin>:1531:2: warning: #warning syscall fanotify_mark not implemented
> > make -f scripts/Makefile.build obj=scripts
> > make -f scripts/Makefile.build obj=scripts/genksyms
> > make -f scripts/Makefile.build obj=scripts/mod
> > mkdir -p .tmp_versions
> > make KBUILD_MODULES=1 \
> > -f scripts/Makefile.build obj=Documentation/vm
> > (cat /dev/null; ) > Documentation/vm/modules.order
> > gcc -Wp,-MD,Documentation/vm/.page-types.d -Wall
> > -Wmissing-prototypes -Wstrict-prototypes -O2
> > -fomit-frame-pointer -o Documentation/vm/page-types
> > Documentation/vm/page-types.c
>
> Try adding in Documentation/vm/Makefile something like:
>
> HOSTCFLAGS_page-types.o += -I$(objtree)/usr/include
>
> or
>
> HOSTCFLAGS_page-types.o += $(LINUXINCLUDE)
Thanks Randy, that got it.
/ac
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists