aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
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/switch
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/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 dd09248720..b7c6dc8362 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)/