mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 05:51:32 +02:00
do target dependent optimizations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10834 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3dbd53deca
commit
41696be697
@ -39,10 +39,10 @@ endif
|
|||||||
ifeq ($(ARCH),i686)
|
ifeq ($(ARCH),i686)
|
||||||
HAL_TARGET:=i386-elf
|
HAL_TARGET:=i386-elf
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),armeb)
|
ifeq ($(BOARD),ixp4xx)
|
||||||
HAL_TARGET:=xscale-be-elf
|
HAL_TARGET:=xscale-be-elf
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),arm)
|
ifeq ($(BOARD),iop32x)
|
||||||
HAL_TARGET:=xscale-le-elf
|
HAL_TARGET:=xscale-le-elf
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),powerpc)
|
ifeq ($(ARCH),powerpc)
|
||||||
|
@ -84,7 +84,7 @@ config TARGET_OPTIMIZATION
|
|||||||
default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
|
default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
|
||||||
default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
|
default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
|
||||||
default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
|
default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
|
||||||
default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb || arm
|
default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x
|
||||||
default "-Os -pipe -funit-at-a-time"
|
default "-Os -pipe -funit-at-a-time"
|
||||||
help
|
help
|
||||||
Optimizations to use when building for the target host.
|
Optimizations to use when building for the target host.
|
||||||
|
Loading…
Reference in New Issue
Block a user