Przeglądaj źródła

do target dependent optimizations

SVN-Revision: 10834
Imre Kaloz 17 lat temu
rodzic
commit
41cf84f819
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 2 2
      package/madwifi/Makefile
  2. 1 1
      toolchain/Config.in

+ 2 - 2
package/madwifi/Makefile

@@ -39,10 +39,10 @@ endif
 ifeq ($(ARCH),i686)
   HAL_TARGET:=i386-elf
 endif
-ifeq ($(ARCH),armeb)
+ifeq ($(BOARD),ixp4xx)
   HAL_TARGET:=xscale-be-elf
 endif
-ifeq ($(ARCH),arm)
+ifeq ($(BOARD),iop32x)
   HAL_TARGET:=xscale-le-elf
 endif
 ifeq ($(ARCH),powerpc)

+ 1 - 1
toolchain/Config.in

@@ -84,7 +84,7 @@ config TARGET_OPTIMIZATION
 	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 -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"
 	help
 	  Optimizations to use when building for the target host.