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:
parent
c94cf3b888
commit
a5f7f6e4bb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue