X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2b9729ded611d4ebf8ea01beb463bb8eac1f5a94..fa26f075386ffffbad7fdcde07c1eee8eee760a1:/package/madwifi/Makefile diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index 5b0342a53..31a89c3d6 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -73,27 +73,24 @@ endif ifeq ($(ARCH),i686) HAL_TARGET:=i386-elf endif -ifeq ($(BOARD),ixp4xx) - HAL_TARGET:=xscale-be-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) +ifeq ($(ARCH),armeb) + HAL_TARGET:=xscale-be-elfgnueabi endif -ifeq ($(BOARD),iop32x) - HAL_TARGET:=xscale-le-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) -endif -ifeq ($(BOARD),kirkwood) - HAL_TARGET:=xscale-le-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) -endif -ifeq ($(BOARD),orion) - HAL_TARGET:=xscale-le-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) -endif -ifeq ($(BOARD),cns3xxx) - HAL_TARGET:=arm11-le-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) +ifeq ($(ARCH),arm) + HAL_TARGET:=xscale-le-elfgnueabi + ifeq ($(BOARD),cns21xx) + HAL_TARGET:=armv4-le-elfgnueabi + endif + ifeq ($(BOARD),cns3xxx) + HAL_TARGET:=arm11-le-elfgnueabi + endif + ifeq ($(BOARD),gemini) + HAL_TARGET:=armv4-le-elfgnueabi + endif endif ifeq ($(ARCH),powerpc) HAL_TARGET:=powerpc-be-elf endif -ifeq ($(BOARD),gemini) - HAL_TARGET:=armv4-le-elf$(if $(CONFIG_EABI_SUPPORT),gnueabi) -endif ifneq ($(CONFIG_TARGET_atheros),) HAL_TARGET:=wisoc endif