Allow a config file to predefine KERNEL_{PHYS,VIRT}_BASE

This commit is contained in:
matt 2012-08-10 02:46:51 +00:00
parent 8eb1fafed1
commit fb4cdd5c88

View File

@ -1,12 +1,12 @@
# $NetBSD: mk.marvell,v 1.3 2011/06/30 18:20:24 matt Exp $
# $NetBSD: mk.marvell,v 1.4 2012/08/10 02:46:51 matt Exp $
SYSTEM_FIRST_OBJ= marvell_start.o
SYSTEM_FIRST_SFILE= ${THISARM}/marvell/marvell_start.S
_OSRELEASE!= ${HOST_SH} $S/conf/osrelease.sh
KERNEL_BASE_PHYS=0x00008000
KERNEL_BASE_VIRT=0xc0008000
KERNEL_BASE_PHYS?=0x00008000
KERNEL_BASE_VIRT?=0xc0008000
MKUBOOTIMAGEARGS= -A arm -T kernel
MKUBOOTIMAGEARGS+= -a $(KERNEL_BASE_PHYS)