mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
wtools-28_pre3 update from the author Jean Tourrilhes. This version is the first to officially support multicall
This commit is contained in:
parent
db0dd7a25b
commit
5f3f78f32b
@ -4,16 +4,12 @@
|
|||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
# Pick your version of the Wireless Tools
|
# This Makefile only work with the multicall version of Wireless Tools,
|
||||||
# v26 -> obsolete ; won't compile with proper WE because $(KERNEL_SRC) not set
|
# which is available in 28-pre3 and later...
|
||||||
#WTOOLS_VER:=26
|
# Jean II
|
||||||
#WTOOLS_SUBVER:=
|
# v28.pre3 -> earliest possible
|
||||||
# v27 -> latest stable ; multi WE
|
|
||||||
#WTOOLS_VER:=27
|
|
||||||
#WTOOLS_SUBVER:=
|
|
||||||
# v28.pre1 -> latest
|
|
||||||
WTOOLS_VER:=28
|
WTOOLS_VER:=28
|
||||||
WTOOLS_SUBVER:=.pre1
|
WTOOLS_SUBVER:=.pre3
|
||||||
|
|
||||||
WTOOLS_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
|
WTOOLS_SOURCE_URL:=http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
|
||||||
WTOOLS_SOURCE:=wireless_tools.$(WTOOLS_VER)$(WTOOLS_SUBVER).tar.gz
|
WTOOLS_SOURCE:=wireless_tools.$(WTOOLS_VER)$(WTOOLS_SUBVER).tar.gz
|
||||||
@ -29,24 +25,16 @@ $(WTOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WTOOLS_SOURCE)
|
|||||||
$(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
|
$(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked
|
||||||
touch $(WTOOLS_BUILD_DIR)/.configured
|
touch $(WTOOLS_BUILD_DIR)/.configured
|
||||||
|
|
||||||
$(WTOOLS_BUILD_DIR)/iwconfig: $(WTOOLS_BUILD_DIR)/.configured
|
$(WTOOLS_BUILD_DIR)/iwmulticall: $(WTOOLS_BUILD_DIR)/.configured
|
||||||
$(MAKE) -C $(WTOOLS_BUILD_DIR) \
|
$(MAKE) -C $(WTOOLS_BUILD_DIR) \
|
||||||
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS) -I." \
|
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
BUILD_SHARED=y # may want to make this an option
|
iwmulticall
|
||||||
|
|
||||||
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwconfig
|
$(TARGET_DIR)/sbin/iwconfig: $(WTOOLS_BUILD_DIR)/iwmulticall
|
||||||
# Copy The Wireless Tools
|
$(MAKE) -C $(WTOOLS_BUILD_DIR) \
|
||||||
cp -af $(WTOOLS_BUILD_DIR)/iwconfig $(TARGET_DIR)/sbin/
|
PREFIX="$(TARGET_DIR)" \
|
||||||
cp -af $(WTOOLS_BUILD_DIR)/iwevent $(TARGET_DIR)/sbin/
|
CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
cp -af $(WTOOLS_BUILD_DIR)/iwgetid $(TARGET_DIR)/sbin/
|
install-iwmulticall
|
||||||
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.$(WTOOLS_VER) $(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.$(WTOOLS_VER)
|
|
||||||
|
|
||||||
wtools: $(TARGET_DIR)/sbin/iwconfig
|
wtools: $(TARGET_DIR)/sbin/iwconfig
|
||||||
|
|
||||||
@ -58,4 +46,3 @@ wtools-clean:
|
|||||||
|
|
||||||
wtools-dirclean:
|
wtools-dirclean:
|
||||||
rm -rf $(WTOOLS_BUILD_DIR)
|
rm -rf $(WTOOLS_BUILD_DIR)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user