![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
41 lines
1.4 KiB
Makefile
41 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# wireless_tools
|
|
#
|
|
################################################################################
|
|
|
|
WIRELESS_TOOLS_VERSION_MAJOR = 30
|
|
WIRELESS_TOOLS_VERSION = $(WIRELESS_TOOLS_VERSION_MAJOR).pre9
|
|
WIRELESS_TOOLS_SITE = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
|
|
WIRELESS_TOOLS_SOURCE = wireless_tools.$(WIRELESS_TOOLS_VERSION).tar.gz
|
|
WIRELESS_TOOLS_LICENSE = GPL-2.0
|
|
WIRELESS_TOOLS_LICENSE_FILES = COPYING
|
|
WIRELESS_TOOLS_INSTALL_STAGING = YES
|
|
|
|
WIRELESS_TOOLS_BUILD_TARGETS = iwmulticall
|
|
WIRELESS_TOOLS_INSTALL_TARGETS = install-iwmulticall
|
|
|
|
ifeq ($(BR2_PACKAGE_WIRELESS_TOOLS_LIB),y)
|
|
WIRELESS_TOOLS_BUILD_TARGETS += libiw.so.$(WIRELESS_TOOLS_VERSION_MAJOR)
|
|
WIRELESS_TOOLS_INSTALL_TARGETS += install-dynamic
|
|
|
|
define WIRELESS_TOOLS_INSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)" LDCONFIG=/bin/true \
|
|
install-dynamic
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(STAGING_DIR)/usr" install-hdr
|
|
endef
|
|
|
|
endif
|
|
|
|
define WIRELESS_TOOLS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
$(WIRELESS_TOOLS_BUILD_TARGETS)
|
|
endef
|
|
|
|
define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" LDCONFIG=/bin/true \
|
|
$(WIRELESS_TOOLS_INSTALL_TARGETS)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|