diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-10-24 13:49:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-10-24 13:49:35 +0000 |
commit | 9b1117eb58d584137ee72acd5ca01ec767bbcece (patch) | |
tree | 1e092c0a658317427513a7e841367719948b8a72 | |
parent | ea03a8d6819ccbf0dc7582d73c8f75c115b3b991 (diff) | |
download | upstream-9b1117eb58d584137ee72acd5ca01ec767bbcece.tar.gz upstream-9b1117eb58d584137ee72acd5ca01ec767bbcece.tar.bz2 upstream-9b1117eb58d584137ee72acd5ca01ec767bbcece.zip |
convert ar7-net to KernelPackage template
SVN-Revision: 5276
-rw-r--r-- | package/ar7-net/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/package/ar7-net/Makefile b/package/ar7-net/Makefile index 526a9bc405..a8423a3fdd 100644 --- a/package/ar7-net/Makefile +++ b/package/ar7-net/Makefile @@ -22,15 +22,15 @@ PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk -define Package/kmod-avalanche-cpmac - SECTION:=kernel - CATEGORY:=Kernel modules +define KernelPackage/avalanche-cpmac SUBMENU:=Network Devices DEPENDS:=@LINUX_2_4_AR7 +kmod-atm DEFAULT:=y - TITLE:=AR7 ADSL driver (Annex A) - DESCRIPTION:=The AR7 ADSL driver for Annex A + TITLE:=AR7 Network driver (CPMAC) + DESCRIPTION:=AR7 Network driver (CPMAC) VERSION:=$(PKG_VERSION)+$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE) + FILES:=$(PKG_BUILD_DIR)/avalanche_cpmac.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,avalanche_cpmac) endef define Build/Compile @@ -42,10 +42,5 @@ define Build/Compile modules endef -define Package/kmod-avalanche-cpmac/install - install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION) - $(CP) $(PKG_BUILD_DIR)/avalanche_cpmac.$(LINUX_KMOD_SUFFIX) \ - $(1)/lib/modules/$(LINUX_VERSION) -endef -$(eval $(call BuildPackage,kmod-avalanche-cpmac)) +$(eval $(call KernelPackage,avalanche-cpmac)) |