view level1/corsham/bootrom/makefile @ 3183:6c9d02baa4d1

corsham: Add Bt.Track definition to corsham.d Also make sure corsham.d is referenced correctly. Comment out OS9GEN command in makefile because it breaks the disk image build.
author Tormod Volden <debian.tormod@gmail.com>
date Thu, 01 Jun 2017 22:41:45 +0200
parents 185c31229f22
children
line wrap: on
line source

include ../port.mak

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

DEPENDS		= ./makefile

BOOTROM		= $(MD)/kernel/krn $(MD)/kernel/krnp2 $(MD)/init $(MD)/boot_cshsd
ALLOBJS		= $(BOOTROM)

all:	bootrom

bootrom: $(BOOTROM)
	$(MERGE) $(BOOTROM) > bootrom_p1
	ls -l bootrom_p1
	$(PADROM) 3840 bootrom_p1
	$(MERGE) bootrom_p1 $(MD)/rel > $@
	ls -l $@
	$(PADROM) 8192 -b $@
	$(RM) bootrom_p1

clean:
	$(RM) bootrom bootrom_p1