1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-02-25 15:57:55 +02:00

fix madwifi hal target for mips*

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12435 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-30 09:59:00 +00:00
parent bbee3e7dc1
commit 5a14222cc7

View File

@ -54,11 +54,20 @@ ifneq ($(CONFIG_TARGET_ar7)$(CONFIG_TARGET_uml),)
BUS:= BUS:=
endif endif
ifeq ($(ARCH),mips) ifneq ($(CONFIG_CPU_MIPS32_R2),)
HAL_TARGET:=mips-be-elf ifeq ($(ARCH),mips)
endif HAL_TARGET:=mips32r2-be-elf
ifeq ($(ARCH),mipsel) endif
HAL_TARGET:=mips-le-elf ifeq ($(ARCH),mipsel)
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