head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.66
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.5
	perseant-exfatfs-base-20240630:1.5
	perseant-exfatfs:1.5.0.64
	perseant-exfatfs-base:1.5
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.5
	netbsd-10-0-RC6:1.5
	netbsd-10-0-RC5:1.5
	netbsd-10-0-RC4:1.5
	netbsd-10-0-RC3:1.5
	netbsd-10-0-RC2:1.5
	thorpej-ifq:1.5.0.62
	thorpej-ifq-base:1.5
	thorpej-altq-separation:1.5.0.60
	thorpej-altq-separation-base:1.5
	netbsd-10-0-RC1:1.5
	netbsd-10:1.5.0.58
	netbsd-10-base:1.5
	bouyer-sunxi-drm:1.5.0.56
	bouyer-sunxi-drm-base:1.5
	netbsd-9-3-RELEASE:1.5
	thorpej-i2c-spi-conf2:1.5.0.54
	thorpej-i2c-spi-conf2-base:1.5
	thorpej-futex2:1.5.0.52
	thorpej-futex2-base:1.5
	thorpej-cfargs2:1.5.0.50
	thorpej-cfargs2-base:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.48
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.46
	cjep_staticlib_x-base:1.5
	thorpej-i2c-spi-conf:1.5.0.44
	thorpej-i2c-spi-conf-base:1.5
	thorpej-cfargs:1.5.0.42
	thorpej-cfargs-base:1.5
	thorpej-futex:1.5.0.40
	thorpej-futex-base:1.5
	netbsd-9-1-RELEASE:1.5
	bouyer-xenpvh-base2:1.5
	phil-wifi-20200421:1.5
	bouyer-xenpvh-base1:1.5
	phil-wifi-20200411:1.5
	bouyer-xenpvh:1.5.0.38
	bouyer-xenpvh-base:1.5
	is-mlppp:1.5.0.36
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.5
	ad-namecache-base3:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.34
	ad-namecache-base:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.32
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	isaki-audio2:1.5.0.30
	isaki-audio2-base:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.28
	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.5
	pgoyette-compat:1.5.0.26
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.5
	tls-maxphys-base-20171202:1.5
	matt-nb8-mediatek:1.5.0.24
	matt-nb8-mediatek-base:1.5
	nick-nhusb-base-20170825:1.5
	perseant-stdc-iso10646:1.5.0.22
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.20
	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.18
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	jdolecek-ncq:1.5.0.16
	jdolecek-ncq-base:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.5.0.14
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	nick-nhusb-base-20170204:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.12
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.5
	nick-nhusb-base-20161204:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.5
	nick-nhusb-base-20161004:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.5.0.10
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.8
	pgoyette-localcount-base:1.5
	nick-nhusb-base-20160907:1.5
	nick-nhusb-base-20160529:1.5
	netbsd-7-0-1-RELEASE:1.5
	nick-nhusb-base-20160422:1.5
	nick-nhusb-base-20160319:1.5
	nick-nhusb-base-20151226:1.5
	netbsd-7-0:1.5.0.6
	netbsd-7-0-RELEASE:1.5
	nick-nhusb-base-20150921:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	nick-nhusb-base-20150606:1.5
	nick-nhusb-base-20150406:1.5
	nick-nhusb:1.5.0.4
	nick-nhusb-base:1.5
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.5.0.2
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.3.0.28
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	rmind-smpnet-nbase:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.26
	riastradh-drm2-base:1.3
	rmind-smpnet:1.3.0.18
	rmind-smpnet-base:1.3
	netbsd-6-1:1.3.0.24
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.3.0.22
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.3.0.20
	agc-symver-base:1.3
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.3.0.16
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.3.0.14
	tls-maxphys-base:1.5
	matt-nb6-plus:1.3.0.12
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	jmcneill-usbmp-base10:1.3
	yamt-pagecache-base5:1.3
	jmcneill-usbmp-base9:1.3
	yamt-pagecache-base4:1.3
	jmcneill-usbmp-base8:1.3
	jmcneill-usbmp-base7:1.3
	jmcneill-usbmp-base6:1.3
	jmcneill-usbmp-base5:1.3
	jmcneill-usbmp-base4:1.3
	jmcneill-usbmp-base3:1.3
	jmcneill-usbmp-pre-base2:1.3
	jmcneill-usbmp-base2:1.3
	netbsd-6:1.3.0.10
	netbsd-6-base:1.3
	jmcneill-usbmp:1.3.0.8
	jmcneill-usbmp-base:1.3
	jmcneill-audiomp3:1.3.0.6
	jmcneill-audiomp3-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.4
	yamt-pagecache-base:1.3
	rmind-uvmplock-nbase:1.3
	cherry-xenmp:1.3.0.2
	cherry-xenmp-base:1.3
	jym-xensuspend-nbase:1.2
	rmind-uvmplock-base:1.3
	rmind-uvmplock:1.2.0.4
	uebayasi-xip-base7:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	jruoho-x86intr:1.1.0.4
	jruoho-x86intr-base:1.1
	jym-xensuspend-base:1.2
	matt-nb5-pq3:1.1.0.2;
locks; strict;
comment	@# @;


1.5
date	2014.08.10.17.44.26;	author joerg;	state Exp;
branches;
next	1.4;
commitid	gYmVD5ERJkHKcQLx;

1.4
date	2014.08.08.16.56.31;	author joerg;	state Exp;
branches;
next	1.3;
commitid	309iK37xEyUb0ALx;

1.3
date	2011.05.28.00.07.24;	author matt;	state Exp;
branches
	1.3.14.1
	1.3.28.1;
next	1.2;

1.2
date	2011.01.18.01.10.24;	author matt;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2011.01.07.01.40.36;	author matt;	state dead;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.3.14.1
date	2014.08.20.00.02.59;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.3.28.1
date	2014.08.10.06.53.56;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.2.4.1
date	2011.01.18.01.10.24;	author rmind;	state dead;
branches;
next	1.2.4.2;

1.2.4.2
date	2011.03.05.20.50.15;	author rmind;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	2011.05.31.03.04.00;	author rmind;	state Exp;
branches;
next	;

1.1.2.1
date	2011.01.07.01.40.36;	author matt;	state Exp;
branches;
next	;

1.1.4.1
date	2011.06.06.09.05.31;	author jruoho;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Put GCC/GAS specific options under ACTIVE_CC == "gcc".
@
text
@#	$NetBSD: Makefile.mpc85xx.inc,v 1.4 2014/08/08 16:56:31 joerg Exp $

CFLAGS+=		${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :}
CFLAGS+=		${${ACTIVE_CC} == "gcc":? -fno-inline-functions-called-once :}
AFLAGS+=		${${ACTIVE_CC} == "gcc":? -Wa,-me500 :}
# gcc emits bad code with these options
#AFLAGS+=		-mcpu=8548 
#CFLAGS+=		-mcpu=8548 
TEXTADDR?=		20000

SYSTEM_FIRST_OBJ=	mpc85xx_start.o
SYSTEM_FIRST_SFILE=	${THISPPC}/mpc85xx/mpc85xx_start.S
@


1.4
log
@Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mpc85xx.inc,v 1.3 2011/05/28 00:07:24 matt Exp $
d3 3
a5 3
CFLAGS+=		-misel -Wa,-me500
CFLAGS+=		-fno-inline-functions-called-once
AFLAGS+=		-Wa,-me500
@


1.3
log
@Get rid of LD_TAIL now that there is a common version in Makefile.evbppc.inc
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mpc85xx.inc,v 1.2 2011/01/18 01:10:24 matt Exp $
d3 1
a3 2
CFLAGS+=		-mmultiple
CFLAGS+=		-mno-string -misel -Wa,-me500
@


1.3.14.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 4
a6 3
CFLAGS+=		${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :}
CFLAGS+=		${${ACTIVE_CC} == "gcc":? -fno-inline-functions-called-once :}
AFLAGS+=		${${ACTIVE_CC} == "gcc":? -Wa,-me500 :}
@


1.3.28.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.mpc85xx.inc,v 1.4 2014/08/08 16:56:31 joerg Exp $
d3 2
a4 1
CFLAGS+=		-misel -Wa,-me500
@


1.2
log
@Add support for various MPC85xx platforms.  The MPC8536DS and MPC8548CDS
development systems and the RB800 (routerboard 800) platform.  The CF on
the RB800 doesn't work yet.
@
text
@d1 1
a1 1
#	$NetBSD$
a13 7

SYSTEM_LD_TAIL_EXTRA+=; \
	echo ${OBJCOPY} -S -O binary $@@ $@@.bin; \
	${OBJCOPY} -S -O binary $@@ $@@.bin

EXTRA_KERNELS+= ${KERNELS:@@.KERNEL.@@${.KERNEL.}.bin@@}

@


1.2.4.1
log
@file Makefile.mpc85xx.inc was added on branch rmind-uvmplock on 2011-03-05 20:50:15 +0000
@
text
@d1 20
@


1.2.4.2
log
@sync with head
@
text
@a0 20
#	$NetBSD$

CFLAGS+=		-mmultiple
CFLAGS+=		-mno-string -misel -Wa,-me500
CFLAGS+=		-fno-inline-functions-called-once
AFLAGS+=		-Wa,-me500
# gcc emits bad code with these options
#AFLAGS+=		-mcpu=8548 
#CFLAGS+=		-mcpu=8548 
TEXTADDR?=		20000

SYSTEM_FIRST_OBJ=	mpc85xx_start.o
SYSTEM_FIRST_SFILE=	${THISPPC}/mpc85xx/mpc85xx_start.S

SYSTEM_LD_TAIL_EXTRA+=; \
	echo ${OBJCOPY} -S -O binary $@@ $@@.bin; \
	${OBJCOPY} -S -O binary $@@ $@@.bin

EXTRA_KERNELS+= ${KERNELS:@@.KERNEL.@@${.KERNEL.}.bin@@}

@


1.2.4.3
log
@sync with head
@
text
@d14 7
@


1.1
log
@file Makefile.mpc85xx.inc was initially added on branch matt-nb5-pq3.
@
text
@d1 20
@


1.1.4.1
log
@Sync with HEAD.
@
text
@a0 13
#	$NetBSD: Makefile.mpc85xx.inc,v 1.3 2011/05/28 00:07:24 matt Exp $

CFLAGS+=		-mmultiple
CFLAGS+=		-mno-string -misel -Wa,-me500
CFLAGS+=		-fno-inline-functions-called-once
AFLAGS+=		-Wa,-me500
# gcc emits bad code with these options
#AFLAGS+=		-mcpu=8548 
#CFLAGS+=		-mcpu=8548 
TEXTADDR?=		20000

SYSTEM_FIRST_OBJ=	mpc85xx_start.o
SYSTEM_FIRST_SFILE=	${THISPPC}/mpc85xx/mpc85xx_start.S
@


1.1.2.1
log
@Add mpc85xx support for MPC8536DS (Freescale Development System),
MPC8548CDS (Freescale Development System), and RB800 (RouterBoard 800).
@
text
@a0 20
#	$NetBSD$

CFLAGS+=		-mmultiple
CFLAGS+=		-mno-string -misel -Wa,-me500
CFLAGS+=		-fno-inline-functions-called-once
AFLAGS+=		-Wa,-me500
# gcc emits bad code with these options
#AFLAGS+=		-mcpu=8548 
#CFLAGS+=		-mcpu=8548 
TEXTADDR?=		20000

SYSTEM_FIRST_OBJ=	mpc85xx_start.o
SYSTEM_FIRST_SFILE=	${THISPPC}/mpc85xx/mpc85xx_start.S

SYSTEM_LD_TAIL_EXTRA+=; \
	echo ${OBJCOPY} -S -O binary $@@ $@@.bin; \
	${OBJCOPY} -S -O binary $@@ $@@.bin

EXTRA_KERNELS+= ${KERNELS:@@.KERNEL.@@${.KERNEL.}.bin@@}

@

