diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 92379c7cbc1a28f4cc05715f9cfda1a140ac02ea..fa30453b133109ef0a062ac2a5c114ab4aad239f 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -8,6 +8,10 @@ UTS_MACHINE := arc +ifeq ($(CROSS_COMPILE),) +CROSS_COMPILE := arc-elf32- +endif + KBUILD_DEFCONFIG := fpga_defconfig cflags-y += -mA7 -fno-common -pipe -fno-builtin -D__linux__