diff options
Diffstat (limited to 'initrd/Makefile')
-rw-r--r-- | initrd/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/initrd/Makefile b/initrd/Makefile new file mode 100644 index 0000000..bd4956d --- /dev/null +++ b/initrd/Makefile @@ -0,0 +1,12 @@ +include $(CONFIG) + +FILESDIR := files +ARCHIVEDIR := archive + +all: $(ARCHIVEDIR) + tar -cf $(OUT) -C $(ARCHIVEDIR) . + +.PHONY: $(ARCHIVEDIR) +$(ARCHIVEDIR): + rm -rf $(ARCHIVEDIR) + cp -r $(FILESDIR)/ $(ARCHIVEDIR)/ |