diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-16 19:35:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-16 19:35:25 -0400 |
commit | 1f0090a1eaa1b750a2fc5c99c91b790d5322a1fd (patch) | |
tree | c685060f260410e6704c9dfd457ed8c347141f1d /arch/arm/Makefile | |
parent | 2472f3c8d8fc18b25b2cf1574c036e238187c0ff (diff) | |
parent | 10a8c3839810ac9af1aec836d61b92e7a879f5fa (diff) |
Merge branch 'misc' into devel
Conflicts:
arch/arm/Kconfig
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index cd56c9129a1a..55eca9ed7604 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -105,6 +105,10 @@ AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mau | |||
105 | AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) | 105 | AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) |
106 | CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) | 106 | CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) |
107 | AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb | 107 | AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb |
108 | # Work around buggy relocation from gas if requested: | ||
109 | ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y) | ||
110 | CFLAGS_MODULE +=-fno-optimize-sibling-calls | ||
111 | endif | ||
108 | endif | 112 | endif |
109 | 113 | ||
110 | # Need -Uarm for gcc < 3.x | 114 | # Need -Uarm for gcc < 3.x |
@@ -281,7 +285,7 @@ bzImage: zImage | |||
281 | zImage Image xipImage bootpImage uImage: vmlinux | 285 | zImage Image xipImage bootpImage uImage: vmlinux |
282 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ | 286 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
283 | 287 | ||
284 | zinstall install: vmlinux | 288 | zinstall uinstall install: vmlinux |
285 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ | 289 | $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
286 | 290 | ||
287 | # We use MRPROPER_FILES and CLEAN_FILES now | 291 | # We use MRPROPER_FILES and CLEAN_FILES now |
@@ -302,6 +306,7 @@ define archhelp | |||
302 | echo ' (supply initrd image via make variable INITRD=<path>)' | 306 | echo ' (supply initrd image via make variable INITRD=<path>)' |
303 | echo ' install - Install uncompressed kernel' | 307 | echo ' install - Install uncompressed kernel' |
304 | echo ' zinstall - Install compressed kernel' | 308 | echo ' zinstall - Install compressed kernel' |
309 | echo ' uinstall - Install U-Boot wrapped compressed kernel' | ||
305 | echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' | 310 | echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' |
306 | echo ' (distribution) /sbin/$(INSTALLKERNEL) or' | 311 | echo ' (distribution) /sbin/$(INSTALLKERNEL) or' |
307 | echo ' install to $$(INSTALL_PATH) and run lilo' | 312 | echo ' install to $$(INSTALL_PATH) and run lilo' |