mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
Automatically remove u-root.cpio before compilation. u-root doesn't do that
and if the file is soon created, it will dropped the creation of a new initramfs
This commit is contained in:
parent
d6743abcc4
commit
8e69f8cdbf
@ -7,6 +7,9 @@
|
||||
|
||||
u-root_url := github.com/u-root/u-root
|
||||
u-root_output := $(build)/$(BOARD)/u-root.cpio
|
||||
ifeq ($(shell test -e build/$(BOARD)/u-root.cpio && echo -n yes),yes)
|
||||
$(shell rm $(build)/$(BOARD)/u-root.cpio)
|
||||
endif
|
||||
|
||||
export GOPATH=$(build)/go
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user