Change package name
authorFlorian Fainelli <florian@openwrt.org>
Tue, 12 Dec 2006 12:56:00 +0000 (12:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 12 Dec 2006 12:56:00 +0000 (12:56 +0000)
SVN-Revision: 5768

package/rt2570/Makefile
package/rt2x00/Makefile [deleted file]
package/rt2x00/files/rt2x00.modules [deleted file]
package/rt61/Makefile [new file with mode: 0644]
package/rt61/files/rt2x00.modules [new file with mode: 0644]

index db7351eb0e3e507da7a4d08bf9f44aadc504fb0b..11ccfc9ae76b9175ba907166159761b5adde16de 100644 (file)
@@ -41,7 +41,7 @@ define Build/Compile
                ARCH="$(LINUX_KARCH)" \
                PWD="$(PKG_BUILD_DIR)/Module" \
                KERNDIR="$(LINUX_DIR)" \
-               PATCHLEVEL=" $(patsubst 2.%,%,$(KERNEL))"
+               PATCHLEVEL="$(patsubst 2.%,%,$(KERNEL))"
 endef
 
 $(eval $(call KernelPackage,rt2570))
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile
deleted file mode 100644 (file)
index c9502d8..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-# 
-# Copyright (C) 2006 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-# $Id: $
-
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=rt2x00
-PKG_VERSION:=1.1.0-b1
-PKG_RELEASE:=1
-
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/rt61-$(PKG_VERSION)/
-PKG_SOURCE:=rt61-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@SF/rt2400
-PKG_MD5SUM:=3f2600400a3d6d878a5d27d0a2e47eed
-PKG_CAT:=zcat
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/kmod-rt2x00
-  SECTION:=kernel
-  CATEGORY:=Kernel drivers
-  DEPENDS:=@LINUX_2_6_RDC
-  TITLE:=Driver for Ralink RT61xx based boards
-  URL:=http://rt2x00.serialmonkey.com/
-  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
-endef
-
-define Build/Compile
-       $(MAKE) -C $(LINUX_DIR) \
-               ARCH="$(LINUX_KARCH)" \
-               CROSS_COMPILE="$(TARGET_CROSS)" \
-               PATCHLEVEL="$(LINUX_VERSION)" \
-               KERNDIR="$(LINUX_DIR)" \
-               SUBDIRS="$(PKG_BUILD_DIR)/Module" \
-               modules
-endef
-
-define Package/kmod-rt2x00/install
-       mkdir -p $(1)/etc/modules.d
-       $(INSTALL_DATA) ./files/rt2x00.modules $(1)/etc/modules.d/10-ralink
-       $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
-       $(CP) $(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX) \
-               $(1)/lib/modules/$(LINUX_VERSION)/
-endef
-
-$(eval $(call BuildPackage,kmod-rt2x00))
diff --git a/package/rt2x00/files/rt2x00.modules b/package/rt2x00/files/rt2x00.modules
deleted file mode 100644 (file)
index f17c88b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-rt61
diff --git a/package/rt61/Makefile b/package/rt61/Makefile
new file mode 100644 (file)
index 0000000..c9502d8
--- /dev/null
@@ -0,0 +1,51 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id: $
+
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=rt2x00
+PKG_VERSION:=1.1.0-b1
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/rt61-$(PKG_VERSION)/
+PKG_SOURCE:=rt61-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/rt2400
+PKG_MD5SUM:=3f2600400a3d6d878a5d27d0a2e47eed
+PKG_CAT:=zcat
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/kmod-rt2x00
+  SECTION:=kernel
+  CATEGORY:=Kernel drivers
+  DEPENDS:=@LINUX_2_6_RDC
+  TITLE:=Driver for Ralink RT61xx based boards
+  URL:=http://rt2x00.serialmonkey.com/
+  VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
+endef
+
+define Build/Compile
+       $(MAKE) -C $(LINUX_DIR) \
+               ARCH="$(LINUX_KARCH)" \
+               CROSS_COMPILE="$(TARGET_CROSS)" \
+               PATCHLEVEL="$(LINUX_VERSION)" \
+               KERNDIR="$(LINUX_DIR)" \
+               SUBDIRS="$(PKG_BUILD_DIR)/Module" \
+               modules
+endef
+
+define Package/kmod-rt2x00/install
+       mkdir -p $(1)/etc/modules.d
+       $(INSTALL_DATA) ./files/rt2x00.modules $(1)/etc/modules.d/10-ralink
+       $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
+       $(CP) $(PKG_BUILD_DIR)/Module/rt61.$(LINUX_KMOD_SUFFIX) \
+               $(1)/lib/modules/$(LINUX_VERSION)/
+endef
+
+$(eval $(call BuildPackage,kmod-rt2x00))
diff --git a/package/rt61/files/rt2x00.modules b/package/rt61/files/rt2x00.modules
new file mode 100644 (file)
index 0000000..f17c88b
--- /dev/null
@@ -0,0 +1 @@
+rt61