Changeset 15516


Ignore:
Timestamp:
2009-04-30T16:53:01+02:00 (9 years ago)
Author:
nbd
Message:

crda: use libnl-tiny

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/crda/Makefile

    r15405 r15516  
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1616PKG_MD5SUM:=1f9854a77c7d92671b8bc8a502716a5b 
    17 PKG_BUILD_DEPENDS:=mac80211 libnl 
     17PKG_BUILD_DEPENDS:=mac80211 
    1818 
    1919PKG_REGULATORY_NAME:=regulatory 
     
    2929  CATEGORY:=Network 
    3030  TITLE:=Central Regulatory Domain Agent (CRDA) 
    31   DEPENDS:=@LINUX_2_6 +hotplug2 +kmod-mac80211 
     31  DEPENDS:=@LINUX_2_6 +hotplug2 +kmod-mac80211 +libnl-tiny 
    3232  URL:=http://wireless.kernel.org/en/developers/Regulatory/CRDA 
    3333endef 
     
    5050endef 
    5151 
    52 define Build/Compile 
    53         $(MAKE_VARS) \ 
    54         $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ 
    55                 $(MAKE_FLAGS) \ 
    56                 NLLIBS="$(STAGING_DIR)/usr/lib/libnl.a -lm" \ 
    57                 REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \ 
    58                 crda 
    59 endef 
     52TARGET_CPPFLAGS := \ 
     53        -I$(STAGING_DIR)/usr/include/libnl-tiny \ 
     54        $(TARGET_CPPFLAGS) 
     55 
     56MAKE_FLAGS += \ 
     57        NL1FOUND="" NL2FOUND=Y \ 
     58        NLLIBNAME="libnl-tiny" \ 
     59        NLLIBS="-lnl-tiny -lm" \ 
     60        REG_BIN="$(DL_DIR)/$(PKG_REGULATORY_SOURCE)" \ 
     61        crda 
    6062 
    6163define Package/crda/install 
Note: See TracChangeset for help on using the changeset viewer.