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
620 B
Makefile
22 lines
620 B
Makefile
################################################################################
|
|
#
|
|
# msr-tools
|
|
#
|
|
################################################################################
|
|
|
|
MSR_TOOLS_VERSION = 1.3
|
|
MSR_TOOLS_SITE = $(call github,01org,msr-tools,msr-tools-$(MSR_TOOLS_VERSION))
|
|
MSR_TOOLS_LICENSE = GPL-2.0
|
|
MSR_TOOLS_LICENSE_FILES = cpuid.c
|
|
|
|
define MSR_TOOLS_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
|
|
endef
|
|
|
|
define MSR_TOOLS_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
|
|
sbindir="$(TARGET_DIR)/usr/sbin"
|
|
endef
|
|
|
|
$(eval $(generic-package))
|