aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r--arch/arm/Makefile7
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
105AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) 105AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W)
106CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) 106CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN)
107AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb 107AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb
108# Work around buggy relocation from gas if requested:
109ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y)
110CFLAGS_MODULE +=-fno-optimize-sibling-calls
111endif
108endif 112endif
109 113
110# Need -Uarm for gcc < 3.x 114# Need -Uarm for gcc < 3.x
@@ -281,7 +285,7 @@ bzImage: zImage
281zImage Image xipImage bootpImage uImage: vmlinux 285zImage Image xipImage bootpImage uImage: vmlinux
282 $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ 286 $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@
283 287
284zinstall install: vmlinux 288zinstall 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'