From 6535758dff5f02739f5b28c5539ebeea28ca2f23 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sat, 3 May 2025 18:15:25 -0500 Subject: bootstrap: create build files Create build infrastructure for a bootloader implementation. This loader should support UEFI and be able to load an ELF kernel at a designated entry point. Signed-off-by: Danny Holman --- bootstrap/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bootstrap/Makefile (limited to 'bootstrap/Makefile') diff --git a/bootstrap/Makefile b/bootstrap/Makefile new file mode 100644 index 0000000..92f4c3e --- /dev/null +++ b/bootstrap/Makefile @@ -0,0 +1,17 @@ +SUBDIRS:=stage1 \ + stage2 \ + +export ARCH VERSION DESTDIR SYS_INCLUDE + +.PHONY: all clean $(SUBDIRS) + +all: $(SUBDIRS) + +subdirs: $(SUBDIRS) + +$(SUBDIRS): + $(MAKE) $(MAKECMDGOALS) -C $@ + +clean: $(SUBDIRS) + +install: $(SUBDIRS) -- cgit v1.2.3