Use ARCH instead of CPU for selecting optimization levels.

This way it works for sim/application too.

Change-Id: I27aa7ce9971e7cb4521106a4f8b37d02503d9d09
This commit is contained in:
Thomas Martitz 2012-01-17 15:08:56 +01:00
parent c94cf3b888
commit a5f7f6e4bb

View file

@ -88,7 +88,7 @@ $(WMAPROLIB) : CODECFLAGS += -O1
$(WMAVOICELIB) : CODECFLAGS += -O1
# fine-tuning of CODECFLAGS per cpu arch
ifeq ($(CPU),arm)
ifeq ($(ARCH),arm)
# redo per arm generation
$(ALACLIB) : CODECFLAGS += -O2
$(AYLIB) : CODECFLAGS += -O1
@ -100,7 +100,7 @@ ifeq ($(CPU),arm)
$(VGMLIB) : CODECFLAGS += -O1
$(EMU2413LIB) : CODECFLAGS += -O3
$(WAVPACKLIB) : CODECFLAGS += -O3
else ifeq ($(CPU),coldfire)
else ifeq ($(ARCH),m68k)
$(A52LIB) : CODECFLAGS += -O2
$(ASFLIB) : CODECFLAGS += -O3
$(ATRACLIB) : CODECFLAGS += -O2