diff options
author | dzwdz | 2021-09-18 09:31:52 +0200 |
---|---|---|
committer | dzwdz | 2021-09-18 09:31:52 +0200 |
commit | 7a44fc5381dabb65dfdb667dc442108d0465799a (patch) | |
tree | b371144793911a43c0751427b99580b744d17a3a /Makefile | |
parent | 32075c0a70c262faef86220b9f42db4836962f9e (diff) |
`init`: start work on the tar driver
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -48,7 +48,10 @@ out/raw_init: src/init/linker.ld $(call from_sources, src/init/) @mkdir -p $(@D) @$(CC) $(LFLAGS) -T $^ -o $@ -out/fs/boot/init: out/raw_init fake_initrd.txt +out/initrd.tar: $(shell find initrd/) + tar cf $@ initrd/ + +out/fs/boot/init: out/raw_init out/initrd.tar @mkdir -p $(@D) @cat $^ > $@ |