aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-07 08:34:51 +0000
commit2180fa92a1158fe8f660b3a69a8f9848309ce9b6 (patch)
tree0f9b6c1a366e3cdca242f1fbebe68337d21e3b7b /package/ar7-atm/Makefile
parentf2b24749083122a565ebf96a9143cb763d17345e (diff)
downloadupstream-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.tar.gz
upstream-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.tar.bz2
upstream-2180fa92a1158fe8f660b3a69a8f9848309ce9b6.zip
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