2019-07-30 13:36:57 +00:00
|
|
|
modules-$(CONFIG_MSRTOOLS) += msrtools
|
|
|
|
|
|
|
|
msrtools_depends := $(musl_dep)
|
|
|
|
|
2019-10-29 12:36:04 +00:00
|
|
|
#msrtools_version := git
|
|
|
|
#msrtools_repo := https://github.com/osresearch/msr-tools
|
2019-07-30 13:36:57 +00:00
|
|
|
|
2020-01-16 17:30:48 +00:00
|
|
|
msrtools_version := 572ef8a2b873eda15a322daa48861140a078b92c
|
2019-07-30 13:36:57 +00:00
|
|
|
msrtools_dir := msrtools-$(msrtools_version)
|
|
|
|
msrtools_tar := msr-tools-$(msrtools_version).tar.gz
|
2019-10-29 12:36:04 +00:00
|
|
|
#msrtools_url := https://github.com/intel/msr-tools/archive/msr-tools-$(msrtools_version).tar.gz
|
|
|
|
msrtools_url := https://github.com/osresearch/msr-tools/archive/$(msrtools_version).tar.gz
|
|
|
|
msrtools_hash := 80554790d0a404205fe215c9ae8d2de159e980ec23821d636f201f12550e6ac0
|
2019-07-30 13:36:57 +00:00
|
|
|
|
|
|
|
msrtools_target := \
|
2024-05-01 18:30:03 +00:00
|
|
|
$(MAKE_JOBS) \
|
2019-07-30 13:36:57 +00:00
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
|
|
|
|
msrtools_output := \
|
|
|
|
wrmsr \
|
|
|
|
rdmsr \
|
|
|
|
cpuid \
|
|
|
|
|
|
|
|
msrtools_libraries := \
|
|
|
|
|
|
|
|
msrtools_configure :=
|