summaryrefslogtreecommitdiff
path: root/bootstrap/Makefile
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-05-03 18:15:25 -0500
committerDanny Holman <dholman@gymli.org>2025-05-04 11:51:11 -0500
commit6535758dff5f02739f5b28c5539ebeea28ca2f23 (patch)
tree69b095cfd2c279825dd94a6165b85d4155decdd7 /bootstrap/Makefile
parent1cfbd25dc9eb39467406686c8ae1efbfd5517865 (diff)
bootstrap: create build filesHEADmaster
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 <dholman@gymli.org>
Diffstat (limited to 'bootstrap/Makefile')
-rw-r--r--bootstrap/Makefile17
1 files changed, 17 insertions, 0 deletions
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)