diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-08-06 18:48:58 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-08-06 18:48:58 +0000 |
commit | 560411655b301b4d7843fbf465f1471823993ea4 (patch) | |
tree | df2fdfab1acf4ffa3e76a326cc0e7bcc6373a228 /package/rt2x00/Makefile | |
parent | 30af9662132004df9dfd687ed1386770334c7078 (diff) | |
download | master-31e0f0ae-560411655b301b4d7843fbf465f1471823993ea4.tar.gz master-31e0f0ae-560411655b301b4d7843fbf465f1471823993ea4.tar.bz2 master-31e0f0ae-560411655b301b4d7843fbf465f1471823993ea4.zip |
More rdc-2.6 fixes by Daniel Gimpelevich, thanks !
SVN-Revision: 8355
Diffstat (limited to 'package/rt2x00/Makefile')
-rw-r--r-- | package/rt2x00/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/package/rt2x00/Makefile b/package/rt2x00/Makefile index 551289be35..4ab5a1221b 100644 --- a/package/rt2x00/Makefile +++ b/package/rt2x00/Makefile @@ -9,7 +9,8 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk -PKG_NAME:=kmod-rt2x00 +PKG_NAME:=rt2x00 +#PKG_VERSION:=cvs-20070725 PKG_VERSION:=git-200706018 include $(INCLUDE_DIR)/package.mk @@ -84,6 +85,11 @@ define KernelPackage/rt61-pci AUTOLOAD:=$(call AutoLoad,27,rt61pci) endef +define KernelPackage/rt61-pci/install + mkdir -p $(1)/lib/firmware + $(CP) -L $(PKG_BUILD_DIR)/rt2?61*.bin $(1)/lib/firmware +endef + define KernelPackage/rt73-usb $(call Package/rt2x00/Default) DEPENDS:=+kmod-rt2x00-usb @@ -93,6 +99,11 @@ define KernelPackage/rt73-usb AUTOLOAD:=$(call AutoLoad,27,rt73usb) endef +define KernelPackage/rt73-usb/install + mkdir -p $(1)/lib/firmware + $(CP) -L $(PKG_BUILD_DIR)/rt73.bin $(1)/lib/firmware +endef + define Build/Prepare $(call Build/Prepare/Default) $(CP) -r src/* $(PKG_BUILD_DIR)/ @@ -100,13 +111,14 @@ define Build/Prepare endef define Build/Compile +# $(MAKE) -C "$(PKG_BUILD_DIR)" config_header $(MAKE) -C "$(LINUX_DIR)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH="$(LINUX_KARCH)" \ + ARCH="$(LINUX_KARCH)" V="$(V)" \ SUBDIRS="$(PKG_BUILD_DIR)" \ KERNELVERSION="$(KERNEL)" \ KERNEL_SOURCE="$(LINUX_DIR)" \ - EXTRA_CFLAGS="$(BUILDFLAGS) -include $(PKG_BUILD_DIR)/rt2x00_compat.h" \ + CFLAGS_MODULE="-DMODULE -include $(PKG_BUILD_DIR)/rt2x00_compat.h" \ KDIR="$(LINUX_DIR)" endef |