From 7f5c45b19d372d94e7dc47707c347fda1cbd6b7a Mon Sep 17 00:00:00 2001 From: d0p1 Date: Fri, 3 Jan 2025 15:02:37 +0100 Subject: [PATCH] build: fix root makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cf97da4..e7be824 100644 --- a/Makefile +++ b/Makefile @@ -48,11 +48,13 @@ endif .PHONY: all all: $(TARGET) +GOAL:=install +clean: GOAL:=clean .PHONY: $(SUBDIRS) $(SUBDIRS): @echo "📁 $@" - @DESTDIR=$(SYSROOTDIR) $(MAKE) -C $@ $(MAKECMDGOALS) + @DESTDIR=$(SYSROOTDIR) $(MAKE) -C $@ $(GOAL) .PHONY: stupid.iso stupid.iso: $(SUBDIRS) @@ -62,8 +64,8 @@ stupid.iso: $(SUBDIRS) stupid.hdd: $(SUBDIRS) dd if=/dev/zero of=$@ bs=1M count=0 seek=64 mformat -L 12 -i $@ -# mcopy -i $@ boot/loader/stpdldr.sys ::/STPDLDR.SYS -# mcopy -i $@ kernel/vmstupid.sys ::/VMSTUPID.SYS + mcopy -i $@ boot/loader/stpdldr.sys ::/STPDLDR.SYS + mcopy -i $@ kernel/vmstupid.sys ::/VMSTUPID.SYS .PHONY: stupid.tar.gz stupid.tar.gz: $(SUBDIRS)