Changeset 18887


Ignore:
Timestamp:
2009-12-22T13:28:02+01:00 (8 years ago)
Author:
florian
Message:

[package] allow different ar7-atm versions to be selected (#6345)

Location:
trunk/package/ar7-atm
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ar7-atm/Makefile

    r17114 r18887  
    1010 
    1111PKG_NAME:=sangam_atm 
     12 
     13ifeq ($(CONFIG_AR7_ATM_FW_VERSION_704),y) 
    1214PKG_VERSION:=D7.04.03.00 
     15PKG_MD5SUM:=3d76004e46f09e88931f91670cb420ad 
    1316PKG_RELEASE:=R1 
     17endif 
     18 
     19ifeq ($(CONFIG_AR7_ATM_FW_VERSION_703),y) 
     20PKG_VERSION:=D7.03.01.00 
     21PKG_MD5SUM:=bc6e9c6adb1be25820c7ee661de8ca7d 
     22PKG_RELEASE:=R2 
     23endif 
    1424 
    1525PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE).tar.bz2 
    1626PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources 
    17 PKG_MD5SUM:=3d76004e46f09e88931f91670cb420ad 
    1827 
    1928include $(INCLUDE_DIR)/package.mk 
     
    2130define KernelPackage/sangam-atm/Default 
    2231  SUBMENU:=Network Devices 
    23   DEPENDS:=@TARGET_ar7 +kmod-atm  
     32  DEPENDS:=@TARGET_ar7 +kmod-atm 
    2433  TITLE:=AR7 ADSL driver 
    2534  FILES:=$(PKG_BUILD_DIR)/tiatm.$(LINUX_KMOD_SUFFIX) 
    2635  AUTOLOAD:=$(call AutoLoad,50,tiatm) 
     36endef 
     37 
     38define KernelPackage/sangam-atm/config 
     39        source "$(SOURCE)/Config.in" 
    2740endef 
    2841 
     
    3649endef 
    3750 
     51define KernelPackage/sangam-atm-annex-a/config 
     52$(call KernelPackage/sangam-atm/config) 
     53endef 
     54 
    3855define KernelPackage/sangam-atm-annex-b 
    3956$(call KernelPackage/sangam-atm/Default) 
     
    4360define KernelPackage/sangam-atm-annex-b/description 
    4461 The AR7 ADSL driver for Annex B (ADSL over ISDN). 
     62endef 
     63 
     64define KernelPackage/sangam-atm-annex-a/config 
     65$(call KernelPackage/sangam-atm/config) 
    4566endef 
    4667 
Note: See TracChangeset for help on using the changeset viewer.