Skip to content
  • Sam Ravnborg's avatar
    kbuild: expand -I in KBUILD_CPPFLAGS · d8672b40
    Sam Ravnborg authored
    kbuild failed to expand include flags in KBUILD_CPPFLAGS
    resulting in code like this in arch Makefiles:
    ifeq ($(KBUILD_SRC),)
    KBUILD_CPPFLAGS += -Iinclude/foo
    KBUILD_CPPFLAGS += -I$(srctree)/include/foo
    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 <>