add rule to make necessary initramfs dirs
This commit is contained in:
parent
72ed3b4f0f
commit
bf61cef111
9
Makefile
9
Makefile
|
@ -16,7 +16,14 @@ MUSL_GCC := "${REALGCC:-gcc}" "$@" -specs "$(MUSL_DIR)/lib/musl-gcc.specs"
|
|||
|
||||
.PHONY: all deps linux busybox clean
|
||||
|
||||
all: deps linux busybox
|
||||
all: dirs deps linux busybox
|
||||
|
||||
dirs:
|
||||
mkdir -p initramfs/{etc,proc,sys,usr/{bin,lib},dev,tmp,mnt,root}
|
||||
ln -sf usr/bin initramfs/bin
|
||||
ln -sf usr/bin initramfs/sbin
|
||||
ln -sf usr/lib initramfs/lib
|
||||
ln -sf usr/lib initramfs/lib64
|
||||
|
||||
deps:
|
||||
@echo "Downloading dependencies..."
|
||||
|
|
Loading…
Reference in a new issue