diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-07 22:22:10 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-01-07 22:22:10 +0000 |
commit | 1b5c7599c7d4a7911e282a5b57c5a49d9424e65a (patch) | |
tree | bf76bddbe2267142fcd6d00016677f1b02b90a12 /package/carl9170/Makefile | |
parent | 7590e5139a7148e76a6adad40f8f3eb3ec9a0b95 (diff) |
carl9170: fix debugfs support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19067 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/carl9170/Makefile')
-rw-r--r-- | package/carl9170/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/carl9170/Makefile b/package/carl9170/Makefile index 17f3376d2..10c83a476 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 |