8e738967d9
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>
22 lines
618 B
Makefile
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))
|