summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds2019-06-29 11:05:58 +0200
committerLinus Torvalds2019-06-29 11:05:58 +0200
commitf8b5c72227618780f49e53fb77b0e7ddb2996552 (patch)
tree6cb72e0aa13cdb91d81747f71815d4571742d15c /arch/arc/Makefile
parentMerge tag 'riscv-for-v5.2/fixes-rc7' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentARC: [plat-hsdk]: unify memory apertures configuration (diff)
downloadkernel-qcow2-linux-f8b5c72227618780f49e53fb77b0e7ddb2996552.tar.gz
kernel-qcow2-linux-f8b5c72227618780f49e53fb77b0e7ddb2996552.tar.xz
kernel-qcow2-linux-f8b5c72227618780f49e53fb77b0e7ddb2996552.zip
Merge tag 'arc-5.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fixes from Vineet Gupta: - hsdk platform unifying apertures - build system CROSS_COMPILE prefix * tag 'arc-5.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc: ARC: [plat-hsdk]: unify memory apertures configuration ARC: build: Try to guess CROSS_COMPILE with cc-cross-prefix
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 480af1af9e63..03a0b19c92cd 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -5,6 +5,10 @@
KBUILD_DEFCONFIG := nsim_hs_defconfig
+ifeq ($(CROSS_COMPILE),)
+CROSS_COMPILE := $(call cc-cross-prefix, arc-linux- arceb-linux-)
+endif
+
cflags-y += -fno-common -pipe -fno-builtin -mmedium-calls -D__linux__
cflags-$(CONFIG_ISA_ARCOMPACT) += -mA7
cflags-$(CONFIG_ISA_ARCV2) += -mcpu=hs38