mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-12 09:40:14 +02:00
[7701] for bcm43xx-mac80211 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7703 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
db3ceae7c2
commit
9f322f1f78
@ -32,8 +32,10 @@ define KernelPackage/bcm43xx-mac80211
|
|||||||
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
|
VERSION:=$(PKG_RELEASE)+$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)
|
||||||
DEPENDS:=@LINUX_2_6 +kmod-mac80211
|
DEPENDS:=@LINUX_2_6 +kmod-mac80211
|
||||||
SUBMENU:=Wireless Drivers
|
SUBMENU:=Wireless Drivers
|
||||||
|
ifneq ($(KERNEL_PATCHVER),2.6.21)
|
||||||
# AUTOLOAD:=$(call AutoLoad,30,bcm43xx-mac80211)
|
# AUTOLOAD:=$(call AutoLoad,30,bcm43xx-mac80211)
|
||||||
FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)
|
FILES:=$(PKG_BUILD_DIR)/bcm43xx-mac80211.$(LINUX_KMOD_SUFFIX)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
@ -41,13 +43,15 @@ define Build/Prepare
|
|||||||
$(CP) ./src/bcm43xx/* $(PKG_BUILD_DIR)/
|
$(CP) ./src/bcm43xx/* $(PKG_BUILD_DIR)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
ifneq ($(KERNEL_PATCHVER),2.6.21)
|
||||||
|
define Build/Compile
|
||||||
$(MAKE) $(MAKE_CONFIGS) -C "$(LINUX_DIR)" \
|
$(MAKE) $(MAKE_CONFIGS) -C "$(LINUX_DIR)" \
|
||||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
EXTRA_CFLAGS="$(BUILDFLAGS)" \
|
||||||
SUBDIRS="$(PKG_BUILD_DIR)" \
|
SUBDIRS="$(PKG_BUILD_DIR)" \
|
||||||
modules
|
modules
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call KernelPackage,bcm43xx-mac80211))
|
$(eval $(call KernelPackage,bcm43xx-mac80211))
|
||||||
|
Loading…
Reference in New Issue
Block a user