af31c309e7
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>
22 lines
640 B
Makefile
22 lines
640 B
Makefile
################################################################################
|
|
#
|
|
# dmidecode
|
|
#
|
|
################################################################################
|
|
|
|
DMIDECODE_VERSION = 3.0
|
|
DMIDECODE_SOURCE = dmidecode-$(DMIDECODE_VERSION).tar.xz
|
|
DMIDECODE_SITE = http://download.savannah.gnu.org/releases/dmidecode
|
|
DMIDECODE_LICENSE = GPL-2.0+
|
|
DMIDECODE_LICENSE_FILES = LICENSE
|
|
|
|
define DMIDECODE_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
|
endef
|
|
|
|
define DMIDECODE_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|