From af4c3ae3990bb5a2f0a53c7112c9d7696a3cab95 Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Thu, 21 Mar 2013 12:22:06 +0530 Subject: ARC: [build] silence make defconfig warnings with host gcc 4.7 We do cross compiles for ARC Linux. With gcc 4.7, a make defconfig spews out the following: ------------------->8-------------------------- make ARCH=arc defconfig gcc: error: unrecognized command line option '-marc600' gcc: error: unrecognized command line option '-mA7' gcc: error: unrecognized command line option '-mno-sdata' gcc: error: unrecognized command line option '-mno-mpy' *** Default configuration is based on 'fpga_defconfig' ------------------->8-------------------------- This apparently is coming from LIBGCC line - which is strange to be invoked for defconfig generation. Reported-by: Alexey Brodkin Signed-off-by: Vineet Gupta --- arch/arc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arc/Makefile') diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 92379c7cbc1a..fa30453b1331 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__ -- cgit v1.2.1 From fb0990bbf5e5eda5705f5511c261842787d1bdf6 Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Fri, 22 Mar 2013 19:48:01 +0530 Subject: ARC: [build] cleanup Makefile a bit Signed-off-by: Vineet Gupta --- arch/arc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arch/arc/Makefile') diff --git a/arch/arc/Makefile b/arch/arc/Makefile index fa30453b1331..ac14601577a6 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -96,11 +96,12 @@ drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ libs-y += arch/arc/lib/ $(LIBGCC) +boot := arch/arc/boot + #default target for make without any arguements. -KBUILD_IMAGE := bootpImage +KBUILD_IMAGE := bootpImage all: $(KBUILD_IMAGE) -boot := arch/arc/boot bootpImage: vmlinux -- cgit v1.2.1 From 104058ede714d3d84f27025a7b5467c6bb137ffd Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Fri, 22 Mar 2013 22:04:27 +0530 Subject: ARC: [build] Allow uncompressed uImage The existing uImage target always generates gzip compressed image which drags bootup for some very slow FPGA customer boards. So introduce seperate make targets:uImage.{bin,gz} with uncompressed being default. Also tie gz generation to CONFIG_KERNEL_GZIP, which a platform can select in it's Kconfig if it wishes gz to be default. Signed-off-by: Vineet Gupta --- arch/arc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arch/arc/Makefile') diff --git a/arch/arc/Makefile b/arch/arc/Makefile index ac14601577a6..f30e0a168343 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -102,10 +102,11 @@ boot := arch/arc/boot KBUILD_IMAGE := bootpImage all: $(KBUILD_IMAGE) - bootpImage: vmlinux -uImage: vmlinux +boot_targets += uImage uImage.bin uImage.gz + +$(boot_targets): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ %.dtb %.dtb.S %.dtb.o: scripts -- cgit v1.2.1 From 072eb693904a52df95ac3d8e8ee00752ed82342c Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Fri, 12 Apr 2013 08:40:59 +0200 Subject: ARC: [TB10x] Add support for TB10x platform Infrastructure required to make the Linux kernel compile and boot on the Abilis Systems TB10x series of SOCs based on ARC700 CPUs: - Kmake related files (Kconfig, Makefile, tb10x_defconfig) - TB10x platform initialisation Signed-off-by: Christian Ruppert Signed-off-by: Pierrick Hascoet Signed-off-by: Vineet Gupta --- arch/arc/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arc/Makefile') diff --git a/arch/arc/Makefile b/arch/arc/Makefile index f30e0a168343..183397fd289e 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -91,6 +91,7 @@ core-y += arch/arc/ core-y += arch/arc/boot/dts/ core-$(CONFIG_ARC_PLAT_FPGA_LEGACY) += arch/arc/plat-arcfpga/ +core-$(CONFIG_ARC_PLAT_TB10X) += arch/arc/plat-tb10x/ drivers-$(CONFIG_OPROFILE) += arch/arc/oprofile/ -- cgit v1.2.1