X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5a14222cc7ad6f362b10a4af9a170cfc893b11d9..68cd5d5a88798abb94a712a85dd1f72c0691205e:/package/madwifi/Makefile diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile index adfd418b2..68bec3014 100644 --- a/package/madwifi/Makefile +++ b/package/madwifi/Makefile @@ -63,10 +63,10 @@ ifneq ($(CONFIG_CPU_MIPS32_R2),) endif else ifeq ($(ARCH),mips) - HAL_TARGET:=mips32-be-elf + HAL_TARGET:=$(if $(CONFIG_MADWIFI_UPSTREAM),mips-be-elf,mips32-be-elf) endif ifeq ($(ARCH),mipsel) - HAL_TARGET:=mips32-le-elf + HAL_TARGET:=$(if $(CONFIG_MADWIFI_UPSTREAM),mips-le-elf,mips32-le-elf) endif endif ifeq ($(ARCH),i386)