summaryrefslogtreecommitdiff
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
commit34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a (patch)
treed03a529733bb0260835cc50a4592b3e9b3f62dde /package/ar7-atm/Makefile
parent3e2f44481fc0c353cc53c3a70b8a59d2ce0c6b60 (diff)
downloadmtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.zip
mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.gz
mtk-20170518-34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a.tar.bz2
move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
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 3be0fab..8286f3e 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