summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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