mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-21 15:50:58 +00:00
ensure that the initrd/bin dir exists
This commit is contained in:
parent
c6e066fd0c
commit
397aa4a9f8
1
Makefile
1
Makefile
@ -76,6 +76,7 @@ $(foreach _, $(modules), $(eval $(call define_module,$_)))
|
|||||||
#
|
#
|
||||||
define initrd_bin =
|
define initrd_bin =
|
||||||
initrd/bin/$(notdir $1): $1
|
initrd/bin/$(notdir $1): $1
|
||||||
|
@-mkdir "initrd/bin"
|
||||||
cmp --quiet "$$@" "$$^" || \
|
cmp --quiet "$$@" "$$^" || \
|
||||||
cp -a "$$^" "$$@"
|
cp -a "$$^" "$$@"
|
||||||
initrd_bins += initrd/bin/$(notdir $1)
|
initrd_bins += initrd/bin/$(notdir $1)
|
||||||
|
Loading…
Reference in New Issue
Block a user