• S
    kbuild: expand -I in KBUILD_CPPFLAGS · d8672b40
    Sam Ravnborg 提交于
    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: NSam Ravnborg <sam@ravnborg.org>
    d8672b40
Makefile 55.9 KB