mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
Merge pull request #618 from osresearch/musl-cross-pin
Pin tag of musl-cross, tpmtotp and msrtools
This commit is contained in:
commit
8af849cadc
7
Makefile
7
Makefile
@ -264,9 +264,10 @@ define define_module =
|
|||||||
# Unpack the tar file and touch the canary so that we know
|
# Unpack the tar file and touch the canary so that we know
|
||||||
# that the files are all present
|
# that the files are all present
|
||||||
$(build)/$($1_base_dir)/.canary: $(packages)/.$1-$($1_version)_verify
|
$(build)/$($1_base_dir)/.canary: $(packages)/.$1-$($1_version)_verify
|
||||||
tar -xf "$(packages)/$($1_tar)" -C "$(build)"
|
mkdir -p "$$(dir $$@)"
|
||||||
|
tar -xf "$(packages)/$($1_tar)" $(or $($1_tar_opt),--strip 1) -C "$$(dir $$@)"
|
||||||
if [ -r patches/$1-$($1_version).patch ]; then \
|
if [ -r patches/$1-$($1_version).patch ]; then \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $$(dir $$@) ; patch -p1 ) \
|
||||||
< patches/$1-$($1_version).patch \
|
< patches/$1-$($1_version).patch \
|
||||||
|| exit 1 ; \
|
|| exit 1 ; \
|
||||||
fi
|
fi
|
||||||
@ -274,7 +275,7 @@ define define_module =
|
|||||||
[ -r patches/$1-$($1_version) ] ; then \
|
[ -r patches/$1-$($1_version) ] ; then \
|
||||||
for patch in patches/$1-$($1_version)/*.patch ; do \
|
for patch in patches/$1-$($1_version)/*.patch ; do \
|
||||||
echo "Applying patch file : $$$$patch " ; \
|
echo "Applying patch file : $$$$patch " ; \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $$(dir $$@) ; patch -p1 ) \
|
||||||
< $$$$patch \
|
< $$$$patch \
|
||||||
|| exit 1 ; \
|
|| exit 1 ; \
|
||||||
done ; \
|
done ; \
|
||||||
|
@ -108,6 +108,7 @@ modules-y += coreboot-blobs
|
|||||||
|
|
||||||
coreboot-blobs_version := $(coreboot_version)
|
coreboot-blobs_version := $(coreboot_version)
|
||||||
coreboot-blobs_tar := coreboot-blobs-$(coreboot-blobs_version).tar.xz
|
coreboot-blobs_tar := coreboot-blobs-$(coreboot-blobs_version).tar.xz
|
||||||
|
coreboot-blobs_tar_opt := --strip 3
|
||||||
coreboot-blobs_dir := coreboot-$(coreboot-blobs_version)/3rdparty/blobs
|
coreboot-blobs_dir := coreboot-$(coreboot-blobs_version)/3rdparty/blobs
|
||||||
coreboot-blobs_url := https://www.coreboot.org/releases/$(coreboot-blobs_tar)
|
coreboot-blobs_url := https://www.coreboot.org/releases/$(coreboot-blobs_tar)
|
||||||
coreboot-blobs_hash := 18aa509ae3af005a05d7b1e0b0246dc640249c14fc828f5144b6fd20bb10e295
|
coreboot-blobs_hash := 18aa509ae3af005a05d7b1e0b0246dc640249c14fc828f5144b6fd20bb10e295
|
||||||
|
@ -2,14 +2,15 @@ modules-$(CONFIG_MSRTOOLS) += msrtools
|
|||||||
|
|
||||||
msrtools_depends := $(musl_dep)
|
msrtools_depends := $(musl_dep)
|
||||||
|
|
||||||
msrtools_version := git
|
#msrtools_version := git
|
||||||
msrtools_repo := https://github.com/osresearch/msr-tools
|
#msrtools_repo := https://github.com/osresearch/msr-tools
|
||||||
|
|
||||||
#msrtools_version := 1.3
|
msrtools_version := 572ef8a
|
||||||
msrtools_dir := msrtools-$(msrtools_version)
|
msrtools_dir := msrtools-$(msrtools_version)
|
||||||
msrtools_tar := msr-tools-$(msrtools_version).tar.gz
|
msrtools_tar := msr-tools-$(msrtools_version).tar.gz
|
||||||
msrtools_url := https://github.com/intel/msr-tools/archive/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_url := https://github.com/osresearch/msr-tools/archive/$(msrtools_version).tar.gz
|
||||||
|
msrtools_hash := 80554790d0a404205fe215c9ae8d2de159e980ec23821d636f201f12550e6ac0
|
||||||
|
|
||||||
msrtools_target := \
|
msrtools_target := \
|
||||||
$(CROSS_TOOLS) \
|
$(CROSS_TOOLS) \
|
||||||
|
@ -23,11 +23,13 @@ else
|
|||||||
# Force a full build of the cross compiler
|
# Force a full build of the cross compiler
|
||||||
|
|
||||||
modules-y += musl-cross
|
modules-y += musl-cross
|
||||||
musl-cross_version := git
|
musl-cross_version := 1952975
|
||||||
musl-cross_dir := musl-cross-$(musl-cross_version)
|
musl-cross_dir := musl-cross
|
||||||
musl-cross_repo := https://github.com/GregorR/musl-cross
|
musl-cross_url := https://github.com/GregorR/musl-cross/archive/$(musl-cross_version).tar.gz
|
||||||
|
musl-cross_tar := musl-cross-$(musl-cross_version).tar.gz
|
||||||
|
musl-cross_hash := dea10cfe4bfe5f5b131d8f98e65127cf5093477af56054d15563e858dc3b25cb
|
||||||
|
|
||||||
CROSS_TOP := crossgcc/x86_64-linux-musl/bin/x86_64-musl-linux-
|
CROSS_TOP := crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl-
|
||||||
CROSS := $(build)/../$(CROSS_TOP)
|
CROSS := $(build)/../$(CROSS_TOP)
|
||||||
musl-cross_output := ../../$(CROSS_TOP)gcc
|
musl-cross_output := ../../$(CROSS_TOP)gcc
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@ modules-$(CONFIG_TPMTOTP) += tpmtotp
|
|||||||
|
|
||||||
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
||||||
|
|
||||||
tpmtotp_version := git
|
#tpmtotp_version := git
|
||||||
tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
#tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
||||||
|
|
||||||
#tpmtotp_version := 0.3.0
|
tpmtotp_version := 18b860f
|
||||||
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
||||||
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
||||||
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v$(tpmtotp_version).tar.gz
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/$(tpmtotp_version).tar.gz
|
||||||
tpmtotp_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
tpmtotp_hash := 1082f2b0e4af833e04220dddedcc21a39eb39ee4dc5668bb010e7bcc795c606c
|
||||||
|
|
||||||
tpmtotp_target := \
|
tpmtotp_target := \
|
||||||
$(CROSS_TOOLS) \
|
$(CROSS_TOOLS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user