Mercurial > hg > Members > kono > nitros9-code
changeset 2297:525698e271ed
Added customboots for testing
author | boisy |
---|---|
date | Thu, 31 Dec 2009 14:22:59 +0000 |
parents | e10177e83238 |
children | d806d969eb17 |
files | 3rdparty/customboots/boisy/makefile |
diffstat | 1 files changed, 60 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/3rdparty/customboots/boisy/makefile Thu Dec 31 14:22:59 2009 +0000 @@ -0,0 +1,60 @@ +include $(NITROS9DIR)/rules.mak + +vpath %.asm ..:$(LEVEL2)/cmds:$(LEVEL1)/cmds:$(NITROS9DIR)/3rdparty/packages/basic09 + +DEPENDS = ./makefile + +DSK = test.dsk +DISTDIR = $(LEVEL2)/coco3 +CD = $(DISTDIR)/cmds +MD = $(DISTDIR)/modules +DSKS = $(DSK) + +CMDS = $(CD)/shell +SYSGO = $(MD)/sysgo_dd + +# We make our own bootfile and kernel track +KERNEL = $(MD)/rel_80 $(MD)/boot_dw3 $(MD)/krn +BOOTFILE = $(MD)/krnp2 $(MD)/ioman $(MD)/init \ + $(MD)/rbf.mn \ + $(MD)/rbdw3.dr $(MD)/dw3.sb \ + $(MD)/ddx0.dd \ + $(MD)/scf.mn \ + $(MD)/sc6551.dr $(MD)/term_sc6551.dt \ + $(MD)/clock_60hz $(MD)/clock2_dw3 + +SUPPORTFILES = startup + +ALLOBJS = $(CMDS) + +all: $(ALLOBJS) + +clean: dskclean + +dsk: all $(DSKS) + +$(DSK): + $(RM) $@ + $(CD) $(DISDIR); make + $(OS9FORMAT_SS80) -q $@ -n"NitrOS-9 Level 2 DriveWire Server" + $(MERGE) $(BOOTFILE)>os9boot + $(MERGE) $(KERNEL)>kernel + $(OS9GEN) $@ -b=os9boot -t=kernel + $(RM) os9boot kernel + $(CP) $(SYSGO) $@,sysgo + $(OS9ATTR_EXEC) $@,sysgo + $(MAKDIR) $@,CMDS + $(CP) $(CMDS) $@,CMDS + $(foreach file, $(CMDS), $(OS9ATTR_EXEC) $@,CMDS/$(notdir $(file));) + $(CPL) $(SUPPORTFILES) $@,. + $(foreach file, $(SUPPORTFILES), $(OS9ATTR_TEXT) $@,$(file);) + +dskcopy: dsk + $(CP) $(DSKS) $(DSKDIR) + +dskclean: + $(RM) $(DSKS) + +info: + @$(ECHO) "*** NitrOS-9 DriveWire Server ***" + @$(foreach dsk, $(DSKS), $(ECHO) $(dsk);)