mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Merge branch 'msrtools'
This commit is contained in:
commit
b532315733
1
Makefile
1
Makefile
@ -424,6 +424,7 @@ bin_modules-$(CONFIG_NEWT) += newt
|
||||
bin_modules-$(CONFIG_CAIRO) += cairo
|
||||
bin_modules-$(CONFIG_FBWHIPTAIL) += fbwhiptail
|
||||
bin_modules-$(CONFIG_LIBREMKEY) += libremkey-hotp-verification
|
||||
bin_modules-$(CONFIG_MSRTOOLS) += msrtools
|
||||
|
||||
$(foreach m, $(bin_modules-y), \
|
||||
$(call map,initrd_bin_add,$(call bins,$m)) \
|
||||
|
@ -21,6 +21,7 @@ CONFIG_GPG2=y
|
||||
CONFIG_LVM2=y
|
||||
CONFIG_MBEDTLS=y
|
||||
CONFIG_DROPBEAR=y
|
||||
CONFIG_MSRTOOLS=y
|
||||
|
||||
#Uncomment only one of the following block
|
||||
#Required for graphical gui-init (FBWhiptail)
|
||||
|
26
modules/msrtools
Normal file
26
modules/msrtools
Normal file
@ -0,0 +1,26 @@
|
||||
modules-$(CONFIG_MSRTOOLS) += msrtools
|
||||
|
||||
msrtools_depends := $(musl_dep)
|
||||
|
||||
msrtools_version := git
|
||||
msrtools_repo := https://github.com/osresearch/msr-tools
|
||||
|
||||
#msrtools_version := 1.3
|
||||
msrtools_dir := msrtools-$(msrtools_version)
|
||||
msrtools_tar := msr-tools-$(msrtools_version).tar.gz
|
||||
msrtools_url := https://github.com/intel/msr-tools/archive/msr-tools-$(msrtools_version).tar.gz
|
||||
msrtools_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
||||
|
||||
msrtools_target := \
|
||||
$(CROSS_TOOLS) \
|
||||
CFLAGS="-I$(INSTALL)/include" \
|
||||
LDFLAGS="-L$(INSTALL)/lib" \
|
||||
|
||||
msrtools_output := \
|
||||
wrmsr \
|
||||
rdmsr \
|
||||
cpuid \
|
||||
|
||||
msrtools_libraries := \
|
||||
|
||||
msrtools_configure :=
|
Loading…
Reference in New Issue
Block a user