Changeset 3710

Show
Ignore:
Timestamp:
03/10/08 16:00:21 (9 months ago)
Author:
n0-1
Message:

hook in fon2100 support into the ADK

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/targets.mk

    r3388 r3710  
    5353$(eval $(call target_template,2.4,brcm,asus-wl500g-premium,2_4_BRCM_ASUS_WL500G_PREMIUM)) 
    5454$(eval $(call target_template,2.6,brcm,asus-wl500g-premium,2_6_BRCM_ASUS_WL500G_PREMIUM)) 
     55# atheros models 
     56$(eval $(call target_template,2.6,atheros,atheros-fon2100,2_6_ATHEROS)) 
    5557# linksys models 
    5658$(eval $(call target_template,2.4,brcm,linksys-wrt54g-old,2_4_BRCM_LINKSYS_WRT54G_OLD)) 
     
    115117 
    116118# set architecture 
     119ifeq ($(BOARD),atheros) 
     120CPU_ARCH=mips 
     121KERNEL_ARCH=mips 
     122endif 
     123 
    117124ifeq ($(BOARD),brcm) 
    118125CPU_ARCH=mipsel 
  • trunk/freewrt/rules.mk

    r3693 r3710  
    8585ifeq ($(strip ${FWRT_LINUX_2_6_AR7}),y) 
    8686UNAME_R:=               2.6.21.1 
     87else ifeq ($(strip ${FWRT_LINUX_2_6_ATHEROS}),y) 
     88UNAME_R:=               2.6.23.12 
    8789else ifeq ($(strip ${FWRT_LINUX_2_6_BRCM_ASUS_WL500G_PREMIUM}),y) 
    8890UNAME_R:=               2.6.22.1 
     
    9698 
    9799ifeq ($(strip ${FWRT_mipsel}),y) 
     100UNAME_M:=               mips 
     101else ifeq ($(strip ${FWRT_mips}),y) 
    98102UNAME_M:=               mips 
    99103else ifeq ($(strip ${FWRT_i386}),y) 
  • trunk/freewrt/target/Config.in

    r3426 r3710  
    1212 
    1313config FWRT_TARGET_CATEGORY_MIPS 
    14         bool "MIPS-based routers (Broadcom, Routerboard)" 
     14        bool "MIPS-based routers (Broadcom, Routerboard, Atheros)" 
    1515        help 
    1616          Select here to choose one of the embedded WLAN router 
     
    131131          Mikrotik RouterBoard 532 
    132132          http://www.routerboard.com/ 
     133 
     134# 
     135# atheros 
     136# 
     137config FWRT_DEVICE_ATHEROS 
     138        depends on FWRT_TARGET_CATEGORY_MIPS 
     139        bool "Atheros SoC Boards" 
     140        select !FWRT_TARGET_CAN_LINUX_2_4 
     141        select FWRT_TARGET_CAN_LINUX_2_6 
     142        help 
     143          Support for the fon2100, an Atheros SoC 
     144          device distributed by Fon. 
    133145 
    134146# 
     
    251263endchoice 
    252264 
     265source "target/linux/atheros-2.6/Config.in" 
    253266source "target/linux/brcm-2.4/Config.in" 
    254267source "target/linux/brcm-2.6/Config.in" 
     
    290303        select FWRT_KERNEL_JFFS2_FS 
    291304        select FWRT_KERNEL_JFFS2_BBC_LZARI 
    292         depends on FWRT_LINUX_2_4_BRCM 
     305        depends on FWRT_LINUX_2_4_BRCM || FWRT_LINUX_2_6_ATHEROS 
    293306        help 
    294307          Build firmware images with a writable jffs2 root filesystem. 
     
    330343        depends on FWRT_LINUX_2_4_RB || \ 
    331344                   FWRT_LINUX_2_6_RB || \ 
    332                    FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U 
     345                   FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U || \ 
     346                   FWRT_LINUX_2_6_ATHEROS 
    333347        select FWRT_KERNEL_EXT2_FS if !FWRT_LINUX_2_4_BRCM 
    334348        select FWRT_KERNEL_IP_PNP 
     
    383397            FWRT_TARGET_NOKERNEL || \ 
    384398            (FWRT_DEVEL && FWRT_LINUX_2_6) 
     399        depends on !FWRT_LINUX_2_6_ATHEROS 
    385400        help 
    386401          create a initramfs only.