]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tegra: fix Makefile to pass per-file CFLAGS
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 31 Mar 2014 05:23:15 +0000 (14:23 +0900)
committerTom Rini <trini@ti.com>
Mon, 31 Mar 2014 15:33:28 +0000 (11:33 -0400)
Since Kbuild was introduced, warmboot_avp.o has been compiled
without -march=armv4t.

Makefile should be adjusted to pass a per-file option.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/tegra20-common/Makefile

index 32ddbdae459e0d82dfd35d0f980f0f36fe8e5820..0e4b3fc1ddbf3752284fb2d522b003d6ac6a9927 100644 (file)
@@ -9,7 +9,7 @@
 
 # The AVP is ARMv4T architecture so we must use special compiler
 # flags for any startup files it might use.
-CFLAGS_arch/arm/cpu/tegra20-common/warmboot_avp.o += -march=armv4t
+CFLAGS_warmboot_avp.o += -march=armv4t
 
 obj-y  += clock.o funcmux.o pinmux.o
 obj-$(CONFIG_TEGRA_LP0) += warmboot.o crypto.o warmboot_avp.o