X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0dd21ca83758dd25fc4821ec0ce243d8500d7caf..7557428c93299d9428ef49f250c7736b585b0474:/package/crda/Makefile diff --git a/package/crda/Makefile b/package/crda/Makefile index aa58524ec..e53db3dfd 100644 --- a/package/crda/Makefile +++ b/package/crda/Makefile @@ -4,24 +4,23 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=crda PKG_RELEASE:=1 -PKG_VERSION:=1.0.1 +PKG_VERSION:=1.0.2 PKG_SOURCE_URL:=http://wireless.kernel.org/download/crda PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_MD5SUM:=03554b71eef2626795befa17eb1d8b9e -PKG_BUILD_DEPENDS:=mac80211 libnl openssl +PKG_MD5SUM:=1f9854a77c7d92671b8bc8a502716a5b +PKG_BUILD_DEPENDS:=mac80211 PKG_REGULATORY_NAME:=regulatory -PKG_REGULATORY_VERSION:=2009.01.15 +PKG_REGULATORY_VERSION:=2009.04.17 PKG_REGULATORY_SOURCE_URL:=http://wireless.kernel.org/download/wireless-regdb/regulatory.bins PKG_REGULATORY_SOURCE:=$(PKG_REGULATORY_VERSION)-$(PKG_REGULATORY_NAME).bin -PKG_REGULATORY_MD5SUM:=a0db99e5385c876b6da7e2869546f6e2 +PKG_REGULATORY_MD5SUM:=2d7d99b79062b8f2edfbd72222fdfe08 include $(INCLUDE_DIR)/package.mk @@ -29,7 +28,7 @@ define Package/crda SECTION:=net CATEGORY:=Network TITLE:=Central Regulatory Domain Agent (CRDA) - DEPENDS:=@LINUX_2_6 +hotplug2 +kmod-mac80211 + DEPENDS:=@LINUX_2_6 +hotplug2 +kmod-mac80211 +libnl-tiny URL:=http://wireless.kernel.org/en/developers/Regulatory/CRDA endef @@ -50,14 +49,17 @@ define Package/crda/description yet to be added). endef -define Build/Compile - $(MAKE_VARS) \ - $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ - $(MAKE_FLAGS) \ - USE_OPENSSL=1 \ - REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \ - $(1) -endef +TARGET_CPPFLAGS := \ + -I$(STAGING_DIR)/usr/include/libnl-tiny \ + -D_GNU_SOURCE \ + $(TARGET_CPPFLAGS) + +MAKE_FLAGS += \ + NL1FOUND="" NL2FOUND=Y \ + NLLIBNAME="libnl-tiny" \ + NLLIBS="-lnl-tiny -lm" \ + REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \ + crda define Package/crda/install $(INSTALL_DIR) $(1)/sbin