do not compile a normal version of wireless-tools just for the shared library

SVN-Revision: 3054
master
Imre Kaloz 19 years ago
parent ee4a5352a2
commit d9aaca8e9b
  1. 6
      openwrt/package/wireless-tools/Makefile

@ -24,18 +24,18 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -I." \
all iwmulticall
libiw.so.28 iwmulticall
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
PREFIX="$(PKG_INSTALL_DIR)" \
INSTALL_DIR="$(PKG_INSTALL_DIR)/usr/sbin" \
INSTALL_LIB="$(PKG_INSTALL_DIR)/usr/lib" \
install install-iwmulticall
install-iwmulticall
touch $@
$(IPKG_WIRELESS_TOOLS):
mkdir -p $(IDIR_WIRELESS_TOOLS)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libiw.so.28 $(IDIR_WIRELESS_TOOLS)/usr/lib/
cp -fpR $(PKG_BUILD_DIR)/libiw.so.28 $(IDIR_WIRELESS_TOOLS)/usr/lib/
mkdir -p $(IDIR_WIRELESS_TOOLS)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/iw{config,getid,list,priv,spy} $(IDIR_WIRELESS_TOOLS)/usr/sbin/
$(RSTRIP) $(IDIR_WIRELESS_TOOLS)

Loading…
Cancel
Save