fix madwifi hal target for mips*

SVN-Revision: 12435
lede-17.01
Felix Fietkau 2008-08-30 09:59:00 +00:00
parent 6aa8c5de64
commit fff4882561
1 changed files with 14 additions and 5 deletions

View File

@ -54,11 +54,20 @@ ifneq ($(CONFIG_TARGET_ar7)$(CONFIG_TARGET_uml),)
BUS:= BUS:=
endif endif
ifneq ($(CONFIG_CPU_MIPS32_R2),)
ifeq ($(ARCH),mips) ifeq ($(ARCH),mips)
HAL_TARGET:=mips-be-elf HAL_TARGET:=mips32r2-be-elf
endif endif
ifeq ($(ARCH),mipsel) ifeq ($(ARCH),mipsel)
HAL_TARGET:=mips-le-elf HAL_TARGET:=mips32r2-le-elf
endif
else
ifeq ($(ARCH),mips)
HAL_TARGET:=mips32-be-elf
endif
ifeq ($(ARCH),mipsel)
HAL_TARGET:=mips32-le-elf
endif
endif endif
ifeq ($(ARCH),i386) ifeq ($(ARCH),i386)
HAL_TARGET:=i386-elf HAL_TARGET:=i386-elf