commit | 910b40468a9ce3f2f5d48c5d260329c27d45adb5 | [log] [tgz] |
---|---|---|
author | Sam Ravnborg <sam@neptun.(none)> | Fri Oct 19 21:46:01 2007 +0200 |
committer | Sam Ravnborg <sam@neptun.(none)> | Fri Oct 19 21:46:01 2007 +0200 |
tree | 7c6957b94da9c9358839cde3f1ed6c827aac63a7 | |
parent | 50a8ec31c3a00594ceb7c5f1dcf2ecdaf6a5b847 [diff] |
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>