Searched hist:"3308 b28569ba3327419658edd194a967e3fd51e2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/ |
H A D | Makefile | 3308b28569ba3327419658edd194a967e3fd51e2 Wed Jun 15 10:45:45 CDT 2016 Arnd Bergmann <arnd@arndb.de> 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>
|