changeset 710:4b8f2de93c51

Added DS40 target
author boisy
date Sat, 04 Jan 2003 02:23:45 +0000
parents 6f84b2ce58a6
children 63a34e438dde
files level1/makefile
diffstat 1 files changed, 19 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/level1/makefile	Sat Jan 04 02:21:56 2003 +0000
+++ b/level1/makefile	Sat Jan 04 02:23:45 2003 +0000
@@ -13,6 +13,7 @@
 PACKAGENAME	= $(RELEASE).zip
 DSK_SS35_1	= $(RELEASE)_ss35_1.dsk
 DSK_SS35_2	= $(RELEASE)_ss35_2.dsk
+DSK_DS40	= $(RELEASE)_ds40.dsk
 
 # Make all components
 all:
@@ -39,12 +40,12 @@
 	-$(OS92UNIX) $(ROOTFILES)
 
 dskclean:
-	-$(RM) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2)
+	-$(RM) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40)
 
 dsk: all $(PACKAGENAME)
 
-$(PACKAGENAME): $(DSK_SS35_1) $(DSK_SS35_2)
-	$(ZIP) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2) ReleaseNotes ChangeLog
+$(PACKAGENAME): $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40)
+	$(ZIP) $(PACKAGENAME) $(DSK_SS35_1) $(DSK_SS35_2) $(DSK_DS40) ReleaseNotes ChangeLog
 
 $(DSK_SS35_1):
 	$(RM) $(DSK_SS35_1)
@@ -63,3 +64,18 @@
 	$(MAKDIR) $(DSK_SS35_2),DEFS
 	$(CD) MODULES; $(CP) $(MODULES) ../$(DSK_SS35_2),MODULES
 	$(CD) DEFS; $(CP) $(DEFS) ../$(DSK_SS35_2),DEFS
+
+$(DSK_DS40):
+	$(RM) $(DSK_DS40)
+	$(OS9FORMAT) $(DSK_DS40) -t40 -h2 -n"OS-9 Level One System Disk"
+	$(OS9GEN) $(DSK_DS40) BOOTFILES/$(BOOTFILE) BOOTFILES/$(KERNEL)
+	$(MAKDIR) $(DSK_DS40),CMDS
+	$(MAKDIR) $(DSK_DS40),SYS
+	$(MAKDIR) $(DSK_DS40),MODULES
+	$(CD) CMDS; $(CP) $(CMDS) ../$(DSK_DS40),CMDS
+	$(CD) SYS; $(CP) $(SYS) ../$(DSK_DS40),SYS
+	$(MAKDIR) $(DSK_DS40),DEFS
+	$(CD) MODULES; $(CP) $(MODULES) ../$(DSK_DS40),MODULES
+	$(CD) DEFS; $(CP) $(DEFS) ../$(DSK_DS40),DEFS
+	$(CP) $(ROOTFILES) $(DSK_DS40),.
+