Kbuild: always prefix objtree in LINUXINCLUDE
authorArnd Bergmann <arnd@arndb.de>
Wed, 15 Jun 2016 15:45:45 +0000 (17:45 +0200)
committerMichal Marek <mmarek@suse.com>
Mon, 18 Jul 2016 19:31:35 +0000 (21:31 +0200)
commit3308b28569ba3327419658edd194a967e3fd51e2
tree1cfececb58f0640f42ae6a009724e0eeae28ca6e
parentdc33db7c338e1a7a4a7cb94d73745c8ca54b1ac8
Kbuild: always prefix objtree in LINUXINCLUDE

When $(LINUXINCLUDE) is added to the cflags of a target that
normall doesn't have it (e.g. HOSTCFLAGS), each entry in the
list is expanded so that we search both $(objtree) and $(srctree),
which is a bit silly, as we already know which of the two we
want for each entry in LINUXINCLUDE.

Also, a follow-up patch changes the behavior so we only look in
$(srctree) for manually added include path, and that breaks finding
the generated headers.

This adds an explicit $(objtree) for each tree that we want to
look for generated files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Marek <mmarek@suse.com>
Makefile
This page took 0.027412 seconds and 5 git commands to generate.