kumquat-buildroot/package/msr-tools/msr-tools.mk
Vincent Stehlé 8e738967d9 msr-tools: new package
The MSR Tools project provides utilities to access x86 processor MSRs
and CPU ID directly.

https://01.org/msr-tools

Signed-off-by: Vincent Stehlé <vincent.stehle@intel.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Thomas:
 - rewrap Config.in help text
 - use $(TARGET_MAKE_ENV) when calling $(MAKE).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-28 22:31:04 +01:00

22 lines
618 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 = GPLv2
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))