summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-05 17:49:22 +0900
committerTom Rini <trini@ti.com>2014-03-07 10:59:06 -0500
commit388b2e520b07cc857c03a152fc6006763f78b9d6 (patch)
treecb18edd9a716dbacc262acedf372bd92fd7ba6d5 /Makefile
parent58dac32764728f2f621377442d785936ec6925e8 (diff)
downloadu-boot-imx-388b2e520b07cc857c03a152fc6006763f78b9d6.zip
u-boot-imx-388b2e520b07cc857c03a152fc6006763f78b9d6.tar.gz
u-boot-imx-388b2e520b07cc857c03a152fc6006763f78b9d6.tar.bz2
kbuild: move "checkthumb" to ARM archprepare
"checkthumb" makes sense only for ARM architecture. Move it to arch/arm/config.mk. To make sure gcc supports THUMB mode before beginning build, run "checkthumb" during "archprepare". Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index c03a1b4..c482d12 100644
--- a/Makefile
+++ b/Makefile
@@ -1114,14 +1114,6 @@ SYSTEM_MAP = \
System.map: u-boot
@$(call SYSTEM_MAP,$<) > $@
-checkthumb:
- @if test $(call cc-version) -lt 0404; then \
- echo -n '*** Your GCC does not produce working '; \
- echo 'binaries in THUMB mode.'; \
- echo '*** Your board is configured for THUMB mode.'; \
- false; \
- fi
-
# GCC 3.x is reported to have problems generating the type of relocation
# that U-Boot wants.
# See http://lists.denx.de/pipermail/u-boot/2012-September/135156.html