summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-31 14:23:15 +0900
committerTom Rini <trini@ti.com>2014-03-31 11:33:28 -0400
commitb4722fefd065b64fad1f32248574b3d8b3a63513 (patch)
tree9c55f2a26357a44a04f36172c64ef942784bb62b
parent8a7d486d22a4c60e78e2c82d3023aab3103bf194 (diff)
downloadu-boot-imx-b4722fefd065b64fad1f32248574b3d8b3a63513.zip
u-boot-imx-b4722fefd065b64fad1f32248574b3d8b3a63513.tar.gz
u-boot-imx-b4722fefd065b64fad1f32248574b3d8b3a63513.tar.bz2
tegra: fix Makefile to pass per-file CFLAGS
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>
-rw-r--r--arch/arm/cpu/tegra20-common/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/tegra20-common/Makefile b/arch/arm/cpu/tegra20-common/Makefile
index 32ddbda..0e4b3fc 100644
--- a/arch/arm/cpu/tegra20-common/Makefile
+++ b/arch/arm/cpu/tegra20-common/Makefile
@@ -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