X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7590e5139a7148e76a6adad40f8f3eb3ec9a0b95..53b20821c87348f3f0dff704f402c0c605ed7269:/package/carl9170/Makefile diff --git a/package/carl9170/Makefile b/package/carl9170/Makefile index 17f3376d2..09b94dae0 100644 --- a/package/carl9170/Makefile +++ b/package/carl9170/Makefile @@ -1,5 +1,5 @@ -# -# Copyright (C) 2006 OpenWrt.org +# +# Copyright (C) 2010 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -13,7 +13,8 @@ PKG_VERSION:=0.9.2.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/kernel/people/chr/carl9170/$(PKG_VERSION) +PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/chr/carl9170/$(PKG_VERSION) \ + @KERNEL/linux/kernel/people/chr/carl9170/old/$(PKG_VERSION) PKG_MD5SUM:=5f0057ea651343460ea4f1fb093a4bdf include $(INCLUDE_DIR)/package.mk @@ -43,7 +44,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 +55,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