From c4b73fa154ce47702ee9b3bbe621d8f079eb7fa5 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 7 Sep 2007 08:34:51 +0000 Subject: 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 --- package/ar7-atm/Makefile | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'package/ar7-atm/Makefile') diff --git a/package/ar7-atm/Makefile b/package/ar7-atm/Makefile index 3be0fab3a..8286f3e4e 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