build: fix root makefile
This commit is contained in:
parent
dbf5dd9a91
commit
7f5c45b19d
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -48,11 +48,13 @@ endif
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
GOAL:=install
|
||||||
|
clean: GOAL:=clean
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 $@"
|
@echo "📁 $@"
|
||||||
@DESTDIR=$(SYSROOTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(SYSROOTDIR) $(MAKE) -C $@ $(GOAL)
|
||||||
|
|
||||||
.PHONY: stupid.iso
|
.PHONY: stupid.iso
|
||||||
stupid.iso: $(SUBDIRS)
|
stupid.iso: $(SUBDIRS)
|
||||||
|
@ -62,8 +64,8 @@ stupid.iso: $(SUBDIRS)
|
||||||
stupid.hdd: $(SUBDIRS)
|
stupid.hdd: $(SUBDIRS)
|
||||||
dd if=/dev/zero of=$@ bs=1M count=0 seek=64
|
dd if=/dev/zero of=$@ bs=1M count=0 seek=64
|
||||||
mformat -L 12 -i $@
|
mformat -L 12 -i $@
|
||||||
# mcopy -i $@ boot/loader/stpdldr.sys ::/STPDLDR.SYS
|
mcopy -i $@ boot/loader/stpdldr.sys ::/STPDLDR.SYS
|
||||||
# mcopy -i $@ kernel/vmstupid.sys ::/VMSTUPID.SYS
|
mcopy -i $@ kernel/vmstupid.sys ::/VMSTUPID.SYS
|
||||||
|
|
||||||
.PHONY: stupid.tar.gz
|
.PHONY: stupid.tar.gz
|
||||||
stupid.tar.gz: $(SUBDIRS)
|
stupid.tar.gz: $(SUBDIRS)
|
||||||
|
|
Loading…
Reference in a new issue