Merge msrtools into supermicro-x11ssh

This commit is contained in:
Trammell hudson 2019-08-11 16:04:19 +02:00
commit 5f2075ec5f
No known key found for this signature in database
GPG Key ID: 0F948052DDECBE68
3 changed files with 28 additions and 0 deletions

View File

@ -424,6 +424,7 @@ bin_modules-$(CONFIG_NEWT) += newt
bin_modules-$(CONFIG_CAIRO) += cairo bin_modules-$(CONFIG_CAIRO) += cairo
bin_modules-$(CONFIG_FBWHIPTAIL) += fbwhiptail bin_modules-$(CONFIG_FBWHIPTAIL) += fbwhiptail
bin_modules-$(CONFIG_LIBREMKEY) += libremkey-hotp-verification bin_modules-$(CONFIG_LIBREMKEY) += libremkey-hotp-verification
bin_modules-$(CONFIG_MSRTOOLS) += msrtools
$(foreach m, $(bin_modules-y), \ $(foreach m, $(bin_modules-y), \
$(call map,initrd_bin_add,$(call bins,$m)) \ $(call map,initrd_bin_add,$(call bins,$m)) \

View File

@ -21,6 +21,7 @@ CONFIG_GPG2=y
CONFIG_LVM2=y CONFIG_LVM2=y
CONFIG_MBEDTLS=y CONFIG_MBEDTLS=y
CONFIG_DROPBEAR=y CONFIG_DROPBEAR=y
CONFIG_MSRTOOLS=y
#Uncomment only one of the following block #Uncomment only one of the following block
#Required for graphical gui-init (FBWhiptail) #Required for graphical gui-init (FBWhiptail)

26
modules/msrtools Normal file
View 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 :=