From 65ba015d6c1f248d36ad01a653bc49637804b15b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:46:33 -0400 Subject: working usermode objdir iteration --- initrd/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 initrd/Makefile (limited to 'initrd/Makefile') 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)/ -- cgit v1.2.1