From 34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 7 Sep 2007 08:34:51 +0000 Subject: move package description to a separate definition, remove it when DESCRIPTION=TITLE SVN-Revision: 8659 --- package/ar7-atm/Makefile | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'package/ar7-atm') 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 -- cgit v1.2.3