view level1/atari/bootfiles/makefile @ 2645:23ad0888c0f0

Added more stuff
author Boisy Pitre <boisy.pitre@nuance.com>
date Fri, 02 Mar 2012 14:41:37 -0600
parents c953f1a62a67
children 928b4a062979
line wrap: on
line source

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

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

DEPENDS		= ./makefile

BOOTFILE_P1 = $(MD)/krnp2 $(MD)/init \
		$(MD)/ioman $(MD)/scf.mn $(MD)/vtio.dr $(MD)/term.dt \
		$(MD)/sysgo \
		$(MD)/krn

#		$(MD)/clock_60hz $(MD)/clock2_soft \

BOOTFILE_P2 = $(MD)/rbf.mn $(MD)/rbdw3.dr \
		$(MD)/x0.dd $(MD)/x1.dd $(MD)/dw3.sb \
		$(MD)/scdwp.dr $(MD)/p_scdwp.dd \
		$(CD)/shell_21

BOOTFILES	= bootfile

ALLOBJS		= $(BOOTFILES)

all:	$(ALLOBJS)

bootfile: $(BOOTFILE_P1) $(BOOTFILE_P2) $(DEPENDS)
	$(MERGE) $(BOOTFILE_P1)>$@_p1
	$(MERGE) $(BOOTFILE_P2)>$@_p2
	$(PADROM) -b 10240 $@_p1
	$(PADROM) -b 12288 $@_p1
	$(MERGE) $@_p2 $@_p1>$@
	$(RM) $@_p2 $@_p1
	$(PADROM) -b 32768 $@

clean:
	$(RM) $(ALLOBJS)