xref: /OK3568_Linux_fs/buildroot/package/msr-tools/msr-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# msr-tools
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunMSR_TOOLS_VERSION = 1.3
8*4882a593SmuzhiyunMSR_TOOLS_SITE = $(call github,01org,msr-tools,msr-tools-$(MSR_TOOLS_VERSION))
9*4882a593SmuzhiyunMSR_TOOLS_LICENSE = GPL-2.0
10*4882a593SmuzhiyunMSR_TOOLS_LICENSE_FILES = cpuid.c
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundefine MSR_TOOLS_BUILD_CMDS
13*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
14*4882a593Smuzhiyunendef
15*4882a593Smuzhiyun
16*4882a593Smuzhiyundefine MSR_TOOLS_INSTALL_TARGET_CMDS
17*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \
18*4882a593Smuzhiyun		sbindir="$(TARGET_DIR)/usr/sbin"
19*4882a593Smuzhiyunendef
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun$(eval $(generic-package))
22