head	1.6;
access;
symbols
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.38
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.36
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.6
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	thorpej-ifq:1.6.0.34
	thorpej-ifq-base:1.6
	thorpej-altq-separation:1.6.0.32
	thorpej-altq-separation-base:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.30
	netbsd-10-base:1.6
	bouyer-sunxi-drm:1.6.0.28
	bouyer-sunxi-drm-base:1.6
	netbsd-9-3-RELEASE:1.6
	thorpej-i2c-spi-conf2:1.6.0.26
	thorpej-i2c-spi-conf2-base:1.6
	thorpej-futex2:1.6.0.24
	thorpej-futex2-base:1.6
	thorpej-cfargs2:1.6.0.22
	thorpej-cfargs2-base:1.6
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.20
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.6
	cjep_staticlib_x:1.6.0.18
	cjep_staticlib_x-base:1.6
	thorpej-i2c-spi-conf:1.6.0.16
	thorpej-i2c-spi-conf-base:1.6
	thorpej-cfargs:1.6.0.14
	thorpej-cfargs-base:1.6
	thorpej-futex:1.6.0.12
	thorpej-futex-base:1.6
	netbsd-9-1-RELEASE:1.6
	bouyer-xenpvh-base2:1.6
	phil-wifi-20200421:1.6
	bouyer-xenpvh-base1:1.6
	phil-wifi-20200411:1.6
	bouyer-xenpvh:1.6.0.10
	bouyer-xenpvh-base:1.6
	is-mlppp:1.6.0.8
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	ad-namecache-base3:1.6
	netbsd-9-0-RELEASE:1.6
	netbsd-9-0-RC2:1.6
	ad-namecache-base2:1.6
	ad-namecache-base1:1.6
	ad-namecache:1.6.0.6
	ad-namecache-base:1.6
	netbsd-9-0-RC1:1.6
	phil-wifi-20191119:1.6
	netbsd-9:1.6.0.4
	netbsd-9-base:1.6
	phil-wifi-20190609:1.6
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	isaki-audio2:1.6.0.2
	isaki-audio2-base:1.6
	pgoyette-compat-merge-20190127:1.5.16.1
	pgoyette-compat-20190127:1.6
	pgoyette-compat-20190118:1.6
	pgoyette-compat-1226:1.6
	pgoyette-compat-1126:1.6
	pgoyette-compat-1020:1.6
	pgoyette-compat-0930:1.6
	pgoyette-compat-0906:1.6
	netbsd-7-2-RELEASE:1.1
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.18
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.1
	pgoyette-compat:1.5.0.16
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.1
	tls-maxphys-base-20171202:1.5
	matt-nb8-mediatek:1.5.0.14
	matt-nb8-mediatek-base:1.5
	nick-nhusb-base-20170825:1.5
	perseant-stdc-iso10646:1.5.0.12
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.10
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.8
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	jdolecek-ncq:1.5.0.6
	jdolecek-ncq-base:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.1.0.20
	netbsd-7-1-RELEASE:1.1
	netbsd-7-1-RC2:1.1
	nick-nhusb-base-20170204:1.5
	netbsd-7-nhusb-base-20170116:1.1
	bouyer-socketcan:1.5.0.4
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.1
	nick-nhusb-base-20161204:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.1
	nick-nhusb-base-20161004:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.1.0.18
	netbsd-7-nhusb-base:1.1
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.2
	pgoyette-localcount-base:1.5
	nick-nhusb-base-20160907:1.5
	nick-nhusb-base-20160529:1.5
	netbsd-7-0-1-RELEASE:1.1
	nick-nhusb-base-20160422:1.5
	nick-nhusb-base-20160319:1.5
	nick-nhusb-base-20151226:1.5
	netbsd-7-0:1.1.0.16
	netbsd-7-0-RELEASE:1.1
	nick-nhusb-base-20150921:1.5
	netbsd-7-0-RC3:1.1
	netbsd-7-0-RC2:1.1
	netbsd-7-0-RC1:1.1
	nick-nhusb-base-20150606:1.2
	nick-nhusb-base-20150406:1.2
	nick-nhusb:1.2.0.2
	nick-nhusb-base:1.2
	netbsd-7:1.1.0.14
	netbsd-7-base:1.1
	yamt-pagecache:1.1.0.12
	yamt-pagecache-base9:1.1
	tls-earlyentropy:1.1.0.10
	tls-earlyentropy-base:1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	rmind-smpnet-nbase:1.1
	riastradh-drm2-base2:1.1
	riastradh-drm2-base1:1.1
	riastradh-drm2:1.1.0.8
	riastradh-drm2-base:1.1
	rmind-smpnet:1.1.0.6
	rmind-smpnet-base:1.1
	tls-maxphys-base:1.1
	tls-maxphys:1.1.0.4
	khorben-n900:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2018.08.12.09.27.02;	author mrg;	state Exp;
branches;
next	1.5;
commitid	3BhHC0xHdRWvqONA;

1.5
date	2015.08.25.02.38.15;	author uebayasi;	state Exp;
branches
	1.5.16.1
	1.5.18.1;
next	1.4;
commitid	fQGLacHhdI3FYAyy;

1.4
date	2015.08.24.14.04.24;	author uebayasi;	state Exp;
branches;
next	1.3;
commitid	JQO3eAMUebR2Owyy;

1.3
date	2015.08.20.06.21.02;	author uebayasi;	state Exp;
branches;
next	1.2;
commitid	jYvDJRD6tZo3nYxy;

1.2
date	2014.11.15.14.25.22;	author uebayasi;	state Exp;
branches
	1.2.2.1;
next	1.1;
commitid	Yp4T1T7q4JyeZhYx;

1.1
date	2013.04.28.12.11.25;	author kiyohara;	state Exp;
branches
	1.1.4.1
	1.1.12.1;
next	;

1.5.16.1
date	2018.09.06.06.55.29;	author pgoyette;	state Exp;
branches;
next	;
commitid	HCi1bXD317XIK0RA;

1.5.18.1
date	2019.06.10.22.06.02;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.2.2.1
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	;
commitid	CpNWKp3ozVNTafCy;

1.1.4.1
date	2013.04.28.12.11.25;	author tls;	state dead;
branches;
next	1.1.4.2;
commitid	eVjr9caYRQbRGHUw;

1.1.4.2
date	2013.06.23.06.20.02;	author tls;	state Exp;
branches;
next	1.1.4.3;
commitid	eVjr9caYRQbRGHUw;

1.1.4.3
date	2017.12.03.11.36.01;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.1.12.1
date	2013.04.28.12.11.25;	author yamt;	state dead;
branches;
next	1.1.12.2;
commitid	VUUXuyNWnt3AKwBx;

1.1.12.2
date	2014.05.22.11.39.38;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;


desc
@@


1.6
log
@conditionally set MACHINE_ARCH to arm, like other makefiles.
fixes epoc32 builds.
@
text
@#	$NetBSD: Makefile.epoc32.inc,v 1.5 2015/08/25 02:38:15 uebayasi Exp $

MACHINE_ARCH?=		arm
CPPFLAGS+=		-D${MACHINE}

SYSTEM_FIRST_OBJ=	epoc32_start.o
SYSTEM_FIRST_SFILE=	${THISARM}/epoc32/epoc32_start.S

KERNEL_BASE_VIRT=	$(LOADADDRESS)

KERNLDSCRIPT=		ldscript

EXTRA_CLEAN+=		netbsd.map assym.d ${KERNLDSCRIPT} tmp

# generate ldscript from common template
${KERNLDSCRIPT}: \
    ${THISARM}/conf/ldscript.epoc32 \
    ${THISARM}/conf/Makefile.epoc32.inc \
    Makefile
	${_MKTARGET_CREATE}
	${TOOL_SED} -e 's/@@KERNEL_BASE_PHYS@@/${KERNEL_BASE_PHYS}/' \
	    -e 's/@@KERNEL_BASE_VIRT@@/${KERNEL_BASE_VIRT}/' \
	    ${THISARM}/conf/ldscript.epoc32 > tmp && mv tmp $@@
@


1.5
log
@Print a message when creating a temporary ldscript.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
MACHINE_ARCH=		arm
@


1.5.18.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.epoc32.inc,v 1.6 2018/08/12 09:27:02 mrg Exp $
d3 1
a3 1
MACHINE_ARCH?=		arm
@


1.5.16.1
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.epoc32.inc,v 1.6 2018/08/12 09:27:02 mrg Exp $
d3 1
a3 1
MACHINE_ARCH?=		arm
@


1.4
log
@Define ${LINKSCRIPT} in one place.
@
text
@d20 1
@


1.3
log
@Clean up ${LINKSCRIPT} and ${KERNLDSCRIPT}.
@
text
@a11 1
LINKSCRIPT=		-T ${KERNLDSCRIPT}
@


1.2
log
@Use LINKSCRIPT.
@
text
@d11 2
a12 1
LINKSCRIPT=		-T ldscript
d14 1
a14 3
EXTRA_CLEAN+=		netbsd.map assym.d ldscript tmp

netbsd:	ldscript	# XXX
d17 4
a20 1
ldscript: ${THISARM}/conf/ldscript.epoc32 ${THISARM}/conf/Makefile.epoc32.inc Makefile
@


1.2.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.epoc32.inc,v 1.5 2015/08/25 02:38:15 uebayasi Exp $
d11 1
a11 1
KERNLDSCRIPT=		ldscript
d13 3
a15 1
EXTRA_CLEAN+=		netbsd.map assym.d ${KERNLDSCRIPT} tmp
d18 1
a18 5
${KERNLDSCRIPT}: \
    ${THISARM}/conf/ldscript.epoc32 \
    ${THISARM}/conf/Makefile.epoc32.inc \
    Makefile
	${_MKTARGET_CREATE}
@


1.1
log
@Add new port NetBSD/epoc32.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.zaurus.inc,v 1.3 2011/05/05 09:07:59 nonaka Exp $
d11 1
a11 1
LINKFLAGS=		-T ldscript
@


1.1.12.1
log
@file Makefile.epoc32.inc was added on branch yamt-pagecache on 2014-05-22 11:39:38 +0000
@
text
@d1 21
@


1.1.12.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 21
#	$NetBSD$

MACHINE_ARCH=		arm
CPPFLAGS+=		-D${MACHINE}

SYSTEM_FIRST_OBJ=	epoc32_start.o
SYSTEM_FIRST_SFILE=	${THISARM}/epoc32/epoc32_start.S

KERNEL_BASE_VIRT=	$(LOADADDRESS)

LINKFLAGS=		-T ldscript

EXTRA_CLEAN+=		netbsd.map assym.d ldscript tmp

netbsd:	ldscript	# XXX

# generate ldscript from common template
ldscript: ${THISARM}/conf/ldscript.epoc32 ${THISARM}/conf/Makefile.epoc32.inc Makefile
	${TOOL_SED} -e 's/@@KERNEL_BASE_PHYS@@/${KERNEL_BASE_PHYS}/' \
	    -e 's/@@KERNEL_BASE_VIRT@@/${KERNEL_BASE_VIRT}/' \
	    ${THISARM}/conf/ldscript.epoc32 > tmp && mv tmp $@@
@


1.1.4.1
log
@file Makefile.epoc32.inc was added on branch tls-maxphys on 2013-06-23 06:20:02 +0000
@
text
@d1 21
@


1.1.4.2
log
@resync from head
@
text
@a0 21
#	$NetBSD$

MACHINE_ARCH=		arm
CPPFLAGS+=		-D${MACHINE}

SYSTEM_FIRST_OBJ=	epoc32_start.o
SYSTEM_FIRST_SFILE=	${THISARM}/epoc32/epoc32_start.S

KERNEL_BASE_VIRT=	$(LOADADDRESS)

LINKFLAGS=		-T ldscript

EXTRA_CLEAN+=		netbsd.map assym.d ldscript tmp

netbsd:	ldscript	# XXX

# generate ldscript from common template
ldscript: ${THISARM}/conf/ldscript.epoc32 ${THISARM}/conf/Makefile.epoc32.inc Makefile
	${TOOL_SED} -e 's/@@KERNEL_BASE_PHYS@@/${KERNEL_BASE_PHYS}/' \
	    -e 's/@@KERNEL_BASE_VIRT@@/${KERNEL_BASE_VIRT}/' \
	    ${THISARM}/conf/ldscript.epoc32 > tmp && mv tmp $@@
@


1.1.4.3
log
@update from HEAD
@
text
@d11 1
a11 1
KERNLDSCRIPT=		ldscript
d13 3
a15 1
EXTRA_CLEAN+=		netbsd.map assym.d ${KERNLDSCRIPT} tmp
d18 1
a18 5
${KERNLDSCRIPT}: \
    ${THISARM}/conf/ldscript.epoc32 \
    ${THISARM}/conf/Makefile.epoc32.inc \
    Makefile
	${_MKTARGET_CREATE}
@


