mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:55:55 +02:00
fix mac80211 build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7696 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
847af1b043
commit
3912d46a72
@ -15,6 +15,9 @@ PKG_RELEASE:=1
|
||||
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
ifeq ($(DUMP),)
|
||||
include $(LINUX_DIR)/.config
|
||||
endif
|
||||
|
||||
define KernelPackage/mac80211
|
||||
SUBMENU:=Wireless Drivers
|
||||
@ -41,7 +44,9 @@ endef
|
||||
MAKE_OPTS:=-C "$(LINUX_DIR)" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
ARCH="$(LINUX_KARCH)" \
|
||||
EXTRA_CFLAGS="$(BUILDFLAGS)"
|
||||
EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS" \
|
||||
CONFIG_MAC80211=m \
|
||||
CONFIG_MAC80211_LEDS=y
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/wireless" modules
|
||||
|
Loading…
Reference in New Issue
Block a user