Skip to content
Commit 910b4046 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent 50a8ec31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment