summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-01-27 10:01:46 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-01-27 10:01:46 +0000
commitd9aaca8e9b05d2816981647d1ea5644db8135ec0 (patch)
treebd537d52ad787e23493b13baffc1ed06f371b5b0
parentee4a5352a20cad49e0913f46e18bf9e96287969b (diff)
downloadmtk-20170518-d9aaca8e9b05d2816981647d1ea5644db8135ec0.zip
mtk-20170518-d9aaca8e9b05d2816981647d1ea5644db8135ec0.tar.gz
mtk-20170518-d9aaca8e9b05d2816981647d1ea5644db8135ec0.tar.bz2
do not compile a normal version of wireless-tools just for the shared library
SVN-Revision: 3054
-rw-r--r--openwrt/package/wireless-tools/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/package/wireless-tools/Makefile b/openwrt/package/wireless-tools/Makefile
index 3f267e3..71f0a2f 100644
--- a/openwrt/package/wireless-tools/Makefile
+++ b/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)