diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-11-21 21:50:02 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-12-03 21:31:59 +0100 |
commit | d8672b40d3a6f17de5b5bc71d6e531d7576a856a (patch) | |
tree | d0792fab67fbdc54f7d3eef7339f456625ed7f52 /drivers/mtd/cmdlinepart.c | |
parent | kbuild: fix -I option expansion with O=... builds (diff) | |
download | linux-d8672b40d3a6f17de5b5bc71d6e531d7576a856a.tar.xz linux-d8672b40d3a6f17de5b5bc71d6e531d7576a856a.zip |
kbuild: expand -I in KBUILD_CPPFLAGS
kbuild failed to expand include flags in KBUILD_CPPFLAGS
resulting in code like this in arch Makefiles:
ifeq ($(KBUILD_SRC),)
KBUILD_CPPFLAGS += -Iinclude/foo
else
KBUILD_CPPFLAGS += -I$(srctree)/include/foo
endif
Move use of LINUXINCLUDE into Makefile.lib to allow
us to expand -I directives of KBUILD_CPPFLAGS so
we can avoid the above code.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions