mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 08:01:06 +02:00
crda: use libnl-tiny
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15516 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7939188db6
commit
9ae811d9a0
@ -14,7 +14,7 @@ PKG_VERSION:=1.0.2
|
|||||||
PKG_SOURCE_URL:=http://wireless.kernel.org/download/crda
|
PKG_SOURCE_URL:=http://wireless.kernel.org/download/crda
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_MD5SUM:=1f9854a77c7d92671b8bc8a502716a5b
|
PKG_MD5SUM:=1f9854a77c7d92671b8bc8a502716a5b
|
||||||
PKG_BUILD_DEPENDS:=mac80211 libnl
|
PKG_BUILD_DEPENDS:=mac80211
|
||||||
|
|
||||||
PKG_REGULATORY_NAME:=regulatory
|
PKG_REGULATORY_NAME:=regulatory
|
||||||
PKG_REGULATORY_VERSION:=2009.04.17
|
PKG_REGULATORY_VERSION:=2009.04.17
|
||||||
@ -28,7 +28,7 @@ define Package/crda
|
|||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=Central Regulatory Domain Agent (CRDA)
|
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
|
URL:=http://wireless.kernel.org/en/developers/Regulatory/CRDA
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -49,14 +49,16 @@ define Package/crda/description
|
|||||||
yet to be added).
|
yet to be added).
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
TARGET_CPPFLAGS := \
|
||||||
$(MAKE_VARS) \
|
-I$(STAGING_DIR)/usr/include/libnl-tiny \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
|
$(TARGET_CPPFLAGS)
|
||||||
$(MAKE_FLAGS) \
|
|
||||||
NLLIBS="$(STAGING_DIR)/usr/lib/libnl.a -lm" \
|
MAKE_FLAGS += \
|
||||||
REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \
|
NL1FOUND="" NL2FOUND=Y \
|
||||||
crda
|
NLLIBNAME="libnl-tiny" \
|
||||||
endef
|
NLLIBS="-lnl-tiny -lm" \
|
||||||
|
REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \
|
||||||
|
crda
|
||||||
|
|
||||||
define Package/crda/install
|
define Package/crda/install
|
||||||
$(INSTALL_DIR) $(1)/sbin
|
$(INSTALL_DIR) $(1)/sbin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user