summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmavoice/libwmavoice.make
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-28 22:57:13 +0200
committerThomas Martitz <kugel@rockbox.org>2012-03-28 23:02:39 +0200
commit7b1a369cf7801f98139189ade463f3a460f78d85 (patch)
tree27f7fb3628f5692f508c1e3e439fa9d657869c77 /apps/codecs/libwmavoice/libwmavoice.make
parentc56950ea3a9e0244461ce445f25bd7a80c8f7199 (diff)
downloadrockbox-7b1a369cf7801f98139189ade463f3a460f78d85.tar.gz
rockbox-7b1a369cf7801f98139189ade463f3a460f78d85.zip
build system: completely autodetect target cpu architecture.
The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
Diffstat (limited to 'apps/codecs/libwmavoice/libwmavoice.make')
-rw-r--r--apps/codecs/libwmavoice/libwmavoice.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libwmavoice/libwmavoice.make b/apps/codecs/libwmavoice/libwmavoice.make
index 0497e18e1b..b35756c64a 100644
--- a/apps/codecs/libwmavoice/libwmavoice.make
+++ b/apps/codecs/libwmavoice/libwmavoice.make
@@ -19,7 +19,7 @@ $(WMAVOICELIB): $(WMAVOICELIB_OBJ)
19 19
20WMAVOICEFLAGS = -I$(APPSDIR)/codecs/libwmavoice $(filter-out -O%,$(CODECFLAGS)) 20WMAVOICEFLAGS = -I$(APPSDIR)/codecs/libwmavoice $(filter-out -O%,$(CODECFLAGS))
21 21
22ifeq ($(CPU),coldfire) 22ifeq ($(ARCH),arch_m68k)
23 WMAVOICEFLAGS += -O2 23 WMAVOICEFLAGS += -O2
24else 24else
25 WMAVOICEFLAGS += -O1 25 WMAVOICEFLAGS += -O1