summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2023-02-25 19:18:33 +0100
committerdzwdz2023-02-25 19:18:33 +0100
commit51c39c73692e755596eafb0d6f732581fee3ba98 (patch)
treedfb79d40b193474dc89a474bdaa5b64d6285e5d8 /Makefile
parent1326ab41a907ad95405cc86d932b3fc47c614c1c (diff)
merge the initrd and sysroot directories
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 003343e..af881e9 100644
--- a/Makefile
+++ b/Makefile
@@ -118,14 +118,14 @@ $(foreach bin,$(USERBINS),$(eval $(call userbin_template,$(bin))))
out/obj/user/app/ext2fs/ext2/example.c.o:
@touch $@
-out/initrd/%: initrd/%
+out/initrd/%: sysroot/%
@mkdir -p $(@D)
@cp $< $@
out/initrd/font.psf:
curl -L https://github.com/legionus/kbd/raw/master/data/consolefonts/default8x16.psfu > $@
-out/initrd.tar: $(patsubst %,out/%,$(shell find initrd/ -type f)) \
+out/initrd.tar: $(patsubst sysroot/%,out/initrd/%,$(shell find sysroot/ -type f)) \
$(patsubst %,out/initrd/bin/amd64/%,$(USERBINS)) \
$(shell find out/initrd/) \
out/initrd/font.psf