do target dependent optimizations
[oweals/openwrt.git] / package / madwifi / Makefile
index 918424db2d9755ebd2ed058fb81e15abb0810a29..f2fdac7b9d7f6a665ad49e2e27cbc558528e2cd5 100644 (file)
@@ -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)