summaryrefslogtreecommitdiff
path: root/package/ar7-atm/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:34:51 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-07 08:34:51 +0000
commitc4b73fa154ce47702ee9b3bbe621d8f079eb7fa5 (patch)
tree0f9b6c1a366e3cdca242f1fbebe68337d21e3b7b /package/ar7-atm/Makefile
parenta2f0b8eb3e1896bf83e696a4e06757c6ead43fd4 (diff)
move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ar7-atm/Makefile')
-rw-r--r--package/ar7-atm/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/package/ar7-atm/Makefile b/package/ar7-atm/Makefile
index 3be0fab3a9..8286f3e4eb 100644
--- a/package/ar7-atm/Makefile
+++ b/package/ar7-atm/Makefile
@@ -19,19 +19,30 @@ PKG_MD5SUM:=dc4d5c36532503a2f234f3303a0bf563
include $(INCLUDE_DIR)/package.mk
-define KernelPackage/sangam-atm-annex-a
+define KernelPackage/sangam-atm/Default
SUBMENU:=Network Devices
DEPENDS:=@TARGET_AR7 +kmod-atm
- TITLE:=AR7 ADSL driver (Annex A, ADSL over POTS)
- DESCRIPTION:=The AR7 ADSL driver for Annex A (ADSL over POTS)
+ TITLE:=AR7 ADSL driver
FILES:=$(PKG_BUILD_DIR)/tiatm.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,50,tiatm)
endef
+define KernelPackage/sangam-atm-annex-a
+$(call KernelPackage/sangam-atm/Default)
+ TITLE+= (Annex A, ADSL over POTS)
+endef
+
+define KernelPackage/sangam-atm-annex-a/description
+ The AR7 ADSL driver for Annex A (ADSL over POTS).
+endef
+
define KernelPackage/sangam-atm-annex-b
- $(call KernelPackage/sangam-atm-annex-a)
- TITLE:=AR7 ADSL driver (Annex B, ADSL over ISDN)
- DESCRIPTION:=The AR7 ADSL driver for Annex B (ADSL over ISDN)
+$(call KernelPackage/sangam-atm/Default)
+ TITLE+= (Annex B, ADSL over ISDN)
+endef
+
+define KernelPackage/sangam-atm-annex-b/description
+ The AR7 ADSL driver for Annex B (ADSL over ISDN).
endef
define Build/Compile