Changeset 3317

Show
Ignore:
Timestamp:
01/31/08 23:47:51 (1 year ago)
Author:
proski
Message:

Allow ARCH to be set to "x86". That's what it is in Linux 2.6.24 for
both i386 and x86_64. When calculating TARGET for x86 platform, use
CONFIG_X86 and CONFIG_X86_64 rather than ARCH.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/branches/madwifi-0.9.4/ath_hal/ah_target.inc

    r1816 r3317  
    2626# Determine the target (i.e. which HAL to use). 
    2727# The default is $(ARCH)-elf 
     28TARGET-$(CONFIG_X86) = i386-elf 
     29TARGET-$(CONFIG_X86_64) = x86_64-elf 
    2830TARGET-$(CONFIG_CPU_32v4) = armv4-$(ENDIAN)-elf 
    2931TARGET-$(CONFIG_CPU_MIPS32_R1) = mips1-$(ENDIAN)-elf 
  • madwifi/branches/madwifi-0.9.4/scripts/get_arch.mk

    r1806 r3317  
    3737endif 
    3838 
     39# Allow ARCH to be x86 
     40ifneq (,$(CONFIG_X86)) 
     41ifeq (x86,$(ARCH)) 
     42ARCH-y = $(ARCH) 
     43endif 
     44endif 
     45 
    3946# Don't allow ARCH to be overridden by a different value. 
    4047ifeq (,$(ARCH))