view level1/tano/bootfiles/makefile @ 2040:25b468210b37

More changes for new porting structure
author boisy
date Sun, 23 Apr 2006 13:12:47 +0000
parents e972ab779861
children add5c02385a7
line wrap: on
line source

#
#bootfiles/makefile
#
# 2005-04-24, P.Harvey-Smith.
#	Added kernels for both DS40 and DS80 disks for Dragon 64
#	Added kernels for both SS80 and DS80 disks for Dragon Alpha
#
#
# 2005-12-31, P.Harvey-Smith,
#	Fixed up for renamed video drivers.
#
# 2006-01-08, P.Harvey-Smith,
#	Added bootrack for original Dargon Data SS40 drives.
#
# 2006-01-18, P.Harvey-Smith,
#	Added ability to build for the Tano Dragon 64, using an RS-DOS
#	disk controler and a 60Hz clock.
#

PORT = tano
include $(NITROS9DIR)/rules.mak

# Module directory
MD		= ../modules
# Commands directory
CD		= ../cmds

DEPENDS		= ./makefile

KERNEL_1773	= $(MD)/rel $(MD)/krn $(MD)/krnp2 $(MD)/init \
		  $(MD)/boot_1773_6ms

IDE	= $(3PD)/ide
SCSI	= $(3PD)/scsisys


BOOTFILE_COVDG_DS40 = $(MD)/ioman \
		$(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
		$(MD)/rbf.mn $(MD)/rb1773.dr \
		$(MD)/ddd0_40d.dd \
		$(MD)/d0_40d.dd $(MD)/d1_40d.dd \
		$(MD)/d2_40d.dd \
		$(MD)/scf.mn \
		$(MD)/scdpp.dr $(MD)/p_dpp.dd \
		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
		$(MD)/clock_60hz $(MD)/clock2_soft \
		$(MD)/sysgo_dd

BOOTFILE_COHR_DS40 = $(MD)/ioman \
		$(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
		$(MD)/rbf.mn $(MD)/rb1773.dr \
		$(MD)/ddd0_40d.dd \
		$(MD)/d0_40d.dd $(MD)/d1_40d.dd \
		$(MD)/d2_40d.dd \
		$(MD)/scf.mn \
		$(MD)/scdpp.dr $(MD)/p_dpp.dd \
		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
		$(MD)/clock_60hz $(MD)/clock2_soft \

BOOTFILE_COVDG_DS80 = $(MD)/ioman \
		$(MD)/vtio.dr $(MD)/covdg.io $(MD)/term32.dt \
		$(MD)/rbf.mn $(MD)/rb1773.dr \
		$(MD)/ddd0_80d.dd \
		$(MD)/d0_80d.dd $(MD)/d1_80d.dd \
		$(MD)/d2_80d.dd \
		$(MD)/scf.mn \
		$(MD)/scdpp.dr $(MD)/p_dpp.dd \
		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
		$(MD)/clock_60hz $(MD)/clock2_soft \
		$(MD)/sysgo_dd

BOOTFILE_COHR_DS80 = $(MD)/ioman \
		$(MD)/vtio.dr $(MD)/cohr.io $(MD)/term51.dt \
		$(MD)/rbf.mn $(MD)/rb1773.dr \
		$(MD)/ddd0_80d.dd \
		$(MD)/d0_80d.dd $(MD)/d1_80d.dd \
		$(MD)/d2_80d.dd \
		$(MD)/scf.mn \
		$(MD)/scdpp.dr $(MD)/p_dpp.dd \
		$(MD)/pipeman.mn $(MD)/piper.dr $(MD)/pipe.dd \
		$(MD)/clock_60hz $(MD)/clock2_soft \
		$(MD)/sysgo_dd

BOOTFILES	= bootfile_cohr_ds40 bootfile_covdg_ds40 \
		  bootfile_cohr_ds80 bootfile_covdg_ds80
		  
KERNELS		= kernel

ALLOBJS		= $(BOOTFILES) $(KERNELS)

all:	$(ALLOBJS)

echo:	
	@$(ECHO) $(BOOTFILE_COVDG_DS40)

bootfile_covdg_ds40: 	$(BOOTFILE_COVDG_DS40) $(DEPENDS)
				$(MERGE) $(BOOTFILE_COVDG_DS40)>$@

bootfile_cohr_ds40: 	$(BOOTFILE_COHR_DS40) $(DEPENDS)
				$(MERGE) $(BOOTFILE_COHR_DS40)>$@

bootfile_covdg_ds80: 	$(BOOTFILE_COVDG_DS80) $(DEPENDS)
				$(MERGE) $(BOOTFILE_COVDG_DS80)>$@

bootfile_cohr_ds80: 	$(BOOTFILE_COHR_DS80) $(DEPENDS)
				$(MERGE) $(BOOTFILE_COHR_DS80)>$@

kernel:	$(KERNEL_1773) $(DEPENDS)
		$(MERGE) $(KERNEL_1773)>$@
		$(PADROM) 4096 $@

clean:
	$(RM) $(ALLOBJS)