summaryrefslogtreecommitdiff
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
commit34bb4638e7eeebcfc901c6a8cc00038fc33e4c7a (patch)
treed03a529733bb0260835cc50a4592b3e9b3f62dde /package/switch
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/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 dd09248..b7c6dc8 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)/