aboutsummaryrefslogtreecommitdiffstats
path: root/package/carl9170/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-07 22:22:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-07 22:22:10 +0000
commite5b704d35027944550fea22c63687c1b24bb24c5 (patch)
treea976b71a4c71c4f291dc38d378d1f9574f0465e6 /package/carl9170/Makefile
parent6142c526347c72950a1dcc794dec1da5bd531a2b (diff)
downloadupstream-e5b704d35027944550fea22c63687c1b24bb24c5.tar.gz
upstream-e5b704d35027944550fea22c63687c1b24bb24c5.tar.bz2
upstream-e5b704d35027944550fea22c63687c1b24bb24c5.zip
carl9170: fix debugfs support
SVN-Revision: 19067
Diffstat (limited to 'package/carl9170/Makefile')
-rw-r--r--package/carl9170/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/carl9170/Makefile b/package/carl9170/Makefile
index 17f3376d28..10c83a4764 100644
--- a/package/carl9170/Makefile
+++ b/package/carl9170/Makefile
@@ -43,7 +43,10 @@ define Build/Prepare
$(Build/Patch)
endef
-BUILDFLAGS= \
+BUILDFLAGS = \
+ CONFIG_MAC80211_DEBUGFS=$(CONFIG_PACKAGE_MAC80211_DEBUGFS)
+
+EXTRA_CFLAGS = \
$(if $(CONFIG_ATH_USER_REGD),-DATH_USER_REGD)
define Build/Compile
@@ -51,7 +54,8 @@ define Build/Compile
SUBDIRS="$(DRV_PATH)" \
ARCH="$(LINUX_KARCH)" \
CROSS_COMPILE="$(KERNEL_CROSS)" \
- CC="$(TARGET_CC) -I$(STAGING_DIR)/usr/include/mac80211 $(BUILDFLAGS)"
+ CC="$(TARGET_CC) -I$(STAGING_DIR)/usr/include/mac80211 $(EXTRA_CFLAGS)" \
+ $(BUILDFLAGS)
endef
define KernelPackage/carl9170/install