mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +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)" ""
|
||||
$(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-
|
||||
endif
|
||||
|
||||
@ -235,7 +235,7 @@ define define_module =
|
||||
if ! $(WGET) -O "$$@.tmp" $($1_url) ; then \
|
||||
exit 1 ; \
|
||||
fi ; \
|
||||
mv "$$@.tmp" "$@" \
|
||||
mv "$$@.tmp" "$$@" \
|
||||
)
|
||||
$(packages)/.$1-$($1_version)_verify: $(packages)/$($1_tar)
|
||||
echo "$($1_hash) $$^" | sha256sum --check -
|
||||
|
Loading…
Reference in New Issue
Block a user