Skip to content
Commit d8672b40 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 5b91c33c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment