summaryrefslogtreecommitdiffstats
path: root/package/switch
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/switch
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/switch')
-rw-r--r--package/switch/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/switch/Makefile b/package/switch/Makefile
index dd0924872..b7c6dc836 100644
--- a/package/switch/Makefile
+++ b/package/switch/Makefile
@@ -18,8 +18,6 @@ define KernelPackage/switch
SUBMENU:=Other modules
DEPENDS:=@TARGET_BRCM_2_4||TARGET_BRCM47XX
TITLE:=Switch drivers
- DESCRIPTION:=\
- This package contains switch drivers for ADM6996L and BCM53XX RoboSwitch.
FILES:= \
$(PKG_BUILD_DIR)/switch-core.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/switch-adm.$(LINUX_KMOD_SUFFIX) \
@@ -27,6 +25,10 @@ define KernelPackage/switch
AUTOLOAD:=$(call AutoLoad,20,switch-core switch-robo switch-adm)
endef
+define KernelPackage/switch/description
+ This package contains switch drivers for ADM6996L and BCM53XX RoboSwitch.
+endef
+
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/