1 #############################################################
5 #############################################################
7 WIRELESS_TOOLS_VERSION
= 29
8 WIRELESS_TOOLS_SITE
= http
://www.hpl.hp.com
/personal
/Jean_Tourrilhes
/Linux
9 WIRELESS_TOOLS_SOURCE
= wireless_tools.
$(WIRELESS_TOOLS_VERSION
).
tar.gz
10 WIRELESS_TOOLS_INSTALL_STAGING
= YES
12 WIRELESS_TOOLS_BUILD_TARGETS
= iwmulticall
13 WIRELESS_TOOLS_INSTALL_TARGETS
= install-iwmulticall
16 ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB
),y
)
17 WIRELESS_TOOLS_BUILD_TARGETS
+= libiw.so.
$(WIRELESS_TOOLS_VERSION
)
18 WIRELESS_TOOLS_INSTALL_TARGETS
+= install-dynamic
20 define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
21 $(MAKE
) -C
$(@D
) PREFIX
="$(STAGING_DIR)" install-dynamic
22 $(MAKE
) -C
$(@D
) PREFIX
="$(STAGING_DIR)/usr" install-hdr
27 define WIRELESS_TOOLS_BUILD_CMDS
28 $(MAKE
) -C
$(@D
) CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
29 $(WIRELESS_TOOLS_BUILD_TARGETS
)
32 define WIRELESS_TOOLS_CLEAN_CMDS
33 $(MAKE
) -C
$(@D
) realclean
36 define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
37 $(MAKE
) -C
$(@D
) PREFIX
="$(TARGET_DIR)" $(WIRELESS_TOOLS_INSTALL_TARGETS
)
38 $(MAKE
) -C
$(@D
) INSTALL_MAN
="$(TARGET_DIR)/usr/share/man" install-man
41 define WIRELESS_TOOLS_UNINSTALL_TARGET_CMDS
42 $(MAKE
) -C
$(@D
) PREFIX
="$(TARGET_DIR)" uninstall
45 $(eval
$(call GENTARGETS
))