summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-03-05 19:18:22 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-03-05 19:18:22 +0000
commit99905641d1175d24102f9a1f2b551577dd586619 (patch)
tree3cc35772ed791984ebc8f2890c768dc1747ca868
parent7fcfe00ec15308e67f3ccbafd40a731635e2c3d0 (diff)
Use BUILD_SHARED to reduce total size.
-rw-r--r--make/wtools.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/make/wtools.mk b/make/wtools.mk
index 979a6f503..53ed4ff57 100644
--- a/make/wtools.mk
+++ b/make/wtools.mk
@@ -20,7 +20,8 @@ $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
$(WTOOLS_BUILD_DIR)/iwconfig: $(WTOOLS_BUILD_DIR)/.configured
$(MAKE) -C $(WTOOLS_BUILD_DIR) \
- CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)"
+ CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
+ BUILD_SHARED=y # may want to make this an option
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig
# Copy The Wireless Tools
@@ -30,6 +31,11 @@ $(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig
cp -af $(WTOOLS_BUILD_DIR)/iwlist $(TARGET_DIR)/sbin/
cp -af $(WTOOLS_BUILD_DIR)/iwpriv $(TARGET_DIR)/sbin/
cp -af $(WTOOLS_BUILD_DIR)/iwspy $(TARGET_DIR)/sbin/
+ cp -af $(WTOOLS_BUILD_DIR)/libiw.so.26 $(TARGET_DIR)/lib
+ $(STRIP) $(TARGET_DIR)/sbin/iwconfig $(TARGET_DIR)/sbin/iwevent \
+ $(TARGET_DIR)/sbin/iwgetid $(TARGET_DIR)/sbin/iwlist \
+ $(TARGET_DIR)/sbin/iwpriv $(TARGET_DIR)/sbin/iwspy \
+ $(TARGET_DIR)/lib/libiw.so.26
wtools: $(TARGET_DIR)/sbin/iwconfig