Changeset 15514


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

iw: use libnl-tiny, forcibly disable git version check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/iw/Makefile

    r15404 r15514  
    1515PKG_SOURCE_URL:=http://wireless.kernel.org/download/iw/ 
    1616PKG_MD5SUM:=cf9121abb4ffe6dce1691e2ec97d5b2b 
    17 PKG_BUILD_DEPENDS:=mac80211 libnl 
     17PKG_BUILD_DEPENDS:=mac80211 
    1818 
    1919include $(INCLUDE_DIR)/package.mk 
     
    2424  TITLE:=cfg80211 interface configuration utility 
    2525  URL:=http://wireless.kernel.org/en/users/Documentation/iw 
    26   DEPENDS:=@!TARGET_avr32 @!TARGET_etrax +libnl 
     26  DEPENDS:=@!TARGET_avr32 @!TARGET_etrax +libnl-tiny 
    2727endef 
    2828 
    2929define Build/Configure 
    3030        echo "const char iw_version[] = \"$(PKG_VERSION)\";" > $(PKG_BUILD_DIR)/version.c 
     31        rm -f $(PKG_BUILD_DIR)/version.sh 
     32        touch $(PKG_BUILD_DIR)/version.sh 
     33        chmod +x $(PKG_BUILD_DIR)/version.sh 
    3134endef 
    3235 
     36TARGET_CPPFLAGS:= \ 
     37        -I$(STAGING_DIR)/usr/include/libnl-tiny \ 
     38        -I$(STAGING_DIR)/usr/include/mac80211 \ 
     39        $(TARGET_CPPFLAGS) \ 
     40        -DCONFIG_LIBNL20 
     41 
    3342MAKE_FLAGS += \ 
    34         CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include/libnl $(TARGET_CPPFLAGS)" \ 
    35         LDFLAGS="$(TARGET_LDFLAGS) -lnl" 
     43        CFLAGS="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ 
     44        LDFLAGS="$(TARGET_LDFLAGS)" \ 
     45        NL1FOUND="" NL2FOUND=Y \ 
     46        NLLIBNAME="libnl-tiny" \ 
     47        LIBS="-lm -lnl-tiny" \ 
     48        V=1 
    3649 
    3750ifneq ($(CONFIG_LINUX_2_6),) 
Note: See TracChangeset for help on using the changeset viewer.