hc
2023-10-25 6c2073b7aa40e29d0eca7d571dd7bc590c7ecaa7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# 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))