Skip to content
Snippets Groups Projects
Commit 6b876d25 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

fix mac80211 build

SVN-Revision: 7696
parent f9bf3a0e
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,9 @@ PKG_RELEASE:=1 ...@@ -15,6 +15,9 @@ PKG_RELEASE:=1
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
include $(LINUX_DIR)/.config
endif
define KernelPackage/mac80211 define KernelPackage/mac80211
SUBMENU:=Wireless Drivers SUBMENU:=Wireless Drivers
...@@ -41,7 +44,9 @@ endef ...@@ -41,7 +44,9 @@ endef
MAKE_OPTS:=-C "$(LINUX_DIR)" \ MAKE_OPTS:=-C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
EXTRA_CFLAGS="$(BUILDFLAGS)" EXTRA_CFLAGS="$(BUILDFLAGS) -DCONFIG_MAC80211_LEDS" \
CONFIG_MAC80211=m \
CONFIG_MAC80211_LEDS=y
define Build/Compile define Build/Compile
$(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/wireless" modules $(MAKE) $(MAKE_OPTS) SUBDIRS="$(PKG_BUILD_DIR)/wireless" modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment