X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fu-boot.git;a=blobdiff_plain;f=arch%2Farc%2Fconfig.mk;h=3ed0c282bae0b42689d5baf9c1ae9c26981f0681;hp=4fcd4076c460de18b39fce0dd233d16bfcba1fb0;hb=d53b128df40d8b2f5dd87cac194163fca2bc17ed;hpb=757566d1567a98f5c331c14f088001dbfe187191 diff --git a/arch/arc/config.mk b/arch/arc/config.mk index 4fcd4076c4..3ed0c282ba 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -11,13 +11,13 @@ CONFIG_SYS_BIG_ENDIAN = 1 endif ifdef CONFIG_SYS_LITTLE_ENDIAN -ARC_CROSS_COMPILE := arc-buildroot-linux-uclibc- +ARC_CROSS_COMPILE := arc-linux- PLATFORM_LDFLAGS += -EL PLATFORM_CPPFLAGS += -mlittle-endian endif ifdef CONFIG_SYS_BIG_ENDIAN -ARC_CROSS_COMPILE := arceb-buildroot-linux-uclibc- +ARC_CROSS_COMPILE := arceb-linux- PLATFORM_LDFLAGS += -EB PLATFORM_CPPFLAGS += -mbig-endian endif @@ -31,32 +31,29 @@ CONFIG_MMU = 1 endif ifdef CONFIG_CPU_ARC750D -PLATFORM_CPPFLAGS += -marc700 +PLATFORM_CPPFLAGS += -mcpu=arc700 endif ifdef CONFIG_CPU_ARC770D -PLATFORM_CPPFLAGS += -marc700 -mlock -mswape +PLATFORM_CPPFLAGS += -mcpu=arc700 -mlock -mswape endif ifdef CONFIG_CPU_ARCEM6 -PLATFORM_CPPFLAGS += -marcem +PLATFORM_CPPFLAGS += -mcpu=arcem endif ifdef CONFIG_CPU_ARCHS34 -PLATFORM_CPPFLAGS += -marchs +PLATFORM_CPPFLAGS += -mcpu=archs endif ifdef CONFIG_CPU_ARCHS38 -PLATFORM_CPPFLAGS += -marchs +PLATFORM_CPPFLAGS += -mcpu=archs endif -PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 +PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -gdwarf-2 -mno-sdata # Needed for relocation LDFLAGS_FINAL += -pie # Load address for standalone apps CONFIG_STANDALONE_LOAD_ADDR ?= 0x82000000 - -# Support generic board on ARC -__HAVE_ARCH_GENERIC_BOARD := y