• S
    kbuild: introduce cc-cross-prefix · 910b4046
    Sam Ravnborg 提交于
    cc-cross-prefix is useful for the architecture that like
    to provide a default CROSS_COMPILE value,
    but may have several to select between.
    
    Sample usage:
    
    ifneq ($(SUBARCH),$(ARCH))
            ifeq ($(CROSS_COMPILE),)
                   CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
            endif
    endif
    
    Actual usage by the different archs will taken care of later.
    Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
    910b4046
Kbuild.include 8.9 KB