diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-02 15:42:21 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-02 16:34:04 -0400 |
commit | 0331c642f92dce988446ea2ac6b69f82212f71ab (patch) | |
tree | 35ef26c38eebc2b9cbfbda516ed8dc8a1f8fabac /tools/omar/Makefile | |
parent | 1b79c42492ea902af29f3157b5c38c89078dc3b8 (diff) |
kernel: initramfs: Add initial OMAR port
CPIO is very outdated and its implementations varies on different hosts,
best to use OSMORA Archive Format (OMAR) instead!
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tools/omar/Makefile')
-rw-r--r-- | tools/omar/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/omar/Makefile b/tools/omar/Makefile new file mode 100644 index 0000000..ee30260 --- /dev/null +++ b/tools/omar/Makefile @@ -0,0 +1,12 @@ +CFILES = $(shell find . -name "*.c") +CFLAGS = -pedantic +CC = gcc + +.PHONY: all +all: + mkdir -p bin/ + $(CC) $(CFLAGS) $(CFILES) -o bin/omar + +.PHONY: clean +clean: + rm -rf bin/ |