view level1/corsham/bootrom/makefile @ 3295:6b7a7b233925 default tip

makefile: Allow PORTS with level1/2 mix https://sourceforge.net/p/nitros9/feature-requests/10/
author Tormod Volden <debian.tormod@gmail.com>
date Tue, 19 Apr 2022 18:12:17 +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