[PATCH 7/8] unicore32: Do not use SUBARCH

Richard Weinberger
2013-08-21T08:26:37Z

Forces the user to specify CROSS_COMPILE at compile time instead
of automatically selecting more or less randomly a cross compiler

Signed-off-by: Richard Weinberger <richard@nod.at>
---
arch/unicore32/Makefile | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/unicore32/Makefile b/arch/unicore32/Makefile
index b6f5c4c..fae00c8 100644
--- a/arch/unicore32/Makefile
+++ b/arch/unicore32/Makefile
@@ -10,11 +10,6 @@
#
# Copyright (C) 2002~2010 by Guan Xue-tao
#
-ifneq ($(SUBARCH),$(ARCH))
- ifeq ($(CROSS_COMPILE),)
- CROSS_COMPILE := $(call cc-cross-prefix, unicore32-linux-)
- endif
-endif

LDFLAGS_vmlinux := -p --no-undefined -X

--
1.8.1.4