]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: introduce cc-cross-prefix
authorSam Ravnborg <sam@neptun.(none)>
Fri, 19 Oct 2007 19:46:01 +0000 (21:46 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Fri, 19 Oct 2007 19:46:01 +0000 (21:46 +0200)
commitebb0195664cca7a885680ebc2b2e9e0e56c36add
tree7c6957b94da9c9358839cde3f1ed6c827aac63a7
parent65fb459458046374df4702050c7ffb6a9b04cf2f
kbuild: introduce cc-cross-prefix

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: Sam Ravnborg <sam@ravnborg.org>
Documentation/kbuild/makefiles.txt
scripts/Kbuild.include