project: xtensa specific ARCH handling
authorMaxim Grigoriev <maxim2405@gmail.com>
Fri, 24 Jul 2009 00:19:24 +0000 (02:19 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 24 Jul 2009 00:19:24 +0000 (02:19 +0200)
Part of #163.

Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
project/Makefile.in

index 49aec141a543b0b3588629930e7e468bb5bed984..85c0eaeed3174a84eefbaec9853621fc9770cd3b 100644 (file)
@@ -10,6 +10,9 @@ QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q,)
 
 # Strip off the annoying quoting
 ARCH:=$(strip $(subst ",, $(BR2_ARCH)))
+ifeq ($(ARCH),xtensa)
+ARCH:=$(ARCH)_$(strip $(subst ",,$(BR2_xtensa_core_name)))
+endif
 #"))
 WGET:=$(strip $(subst ",, $(BR2_WGET))) $(SPIDER) $(QUIET)
 #"))