summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 208b304..ca3184f 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ out/raw_init: src/init/linker.ld $(call from_sources, src/init/)
@$(CC) $(LFLAGS) -T $^ -o $@
out/initrd.tar: $(shell find initrd/)
- tar cf $@ initrd/
+ cd initrd; tar cf ../$@ *
out/fs/boot/init: out/raw_init out/initrd.tar
@mkdir -p $(@D)