mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 15:16:42 +00:00
fix wget and allow packages to be overridden
This commit is contained in:
parent
5555e9e8ac
commit
c494d0a5fd
4
Makefile
4
Makefile
@ -3,7 +3,7 @@ all:
|
|||||||
|
|
||||||
ifneq "$(TOOLCHAIN)" ""
|
ifneq "$(TOOLCHAIN)" ""
|
||||||
$(info Using $(TOOLCHAIN) for cross compiler and packages)
|
$(info Using $(TOOLCHAIN) for cross compiler and packages)
|
||||||
packages := $(TOOLCHAIN)/packages
|
packages ?= $(TOOLCHAIN)/packages
|
||||||
CROSS := $(TOOLCHAIN)/crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl-
|
CROSS := $(TOOLCHAIN)/crossgcc/x86_64-linux-musl/bin/x86_64-linux-musl-
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ define define_module =
|
|||||||
if ! $(WGET) -O "$$@.tmp" $($1_url) ; then \
|
if ! $(WGET) -O "$$@.tmp" $($1_url) ; then \
|
||||||
exit 1 ; \
|
exit 1 ; \
|
||||||
fi ; \
|
fi ; \
|
||||||
mv "$$@.tmp" "$@" \
|
mv "$$@.tmp" "$$@" \
|
||||||
)
|
)
|
||||||
$(packages)/.$1-$($1_version)_verify: $(packages)/$($1_tar)
|
$(packages)/.$1-$($1_version)_verify: $(packages)/$($1_tar)
|
||||||
echo "$($1_hash) $$^" | sha256sum --check -
|
echo "$($1_hash) $$^" | sha256sum --check -
|
||||||
|
Loading…
Reference in New Issue
Block a user