head	1.10;
access;
symbols
	RELENG_6_4_0_RELEASE:1.9.12.1
	RELENG_6_4:1.9.0.12
	RELENG_6_4_BP:1.9
	RELENG_6_3_0_RELEASE:1.9
	RELENG_6_3:1.9.0.10
	RELENG_6_3_BP:1.9
	RELENG_6_2_0_RELEASE:1.9
	RELENG_6_2:1.9.0.8
	RELENG_6_2_BP:1.9
	RELENG_5_5_0_RELEASE:1.8
	RELENG_5_5:1.8.0.8
	RELENG_5_5_BP:1.8
	RELENG_6_1_0_RELEASE:1.9
	RELENG_6_1:1.9.0.6
	RELENG_6_1_BP:1.9
	RELENG_6_0_0_RELEASE:1.9
	RELENG_6_0:1.9.0.4
	RELENG_6_0_BP:1.9
	RELENG_6:1.9.0.2
	RELENG_6_BP:1.9
	RELENG_5_4_0_RELEASE:1.8
	RELENG_5_4:1.8.0.6
	RELENG_5_4_BP:1.8
	RELENG_4_11_0_RELEASE:1.3.2.2
	RELENG_4_11:1.3.2.2.0.16
	RELENG_4_11_BP:1.3.2.2
	RELENG_5_3_0_RELEASE:1.8
	RELENG_5_3:1.8.0.4
	RELENG_5_3_BP:1.8
	RELENG_5:1.8.0.2
	RELENG_5_BP:1.8
	RELENG_4_10_0_RELEASE:1.3.2.2
	RELENG_4_10:1.3.2.2.0.14
	RELENG_4_10_BP:1.3.2.2
	RELENG_5_2_1_RELEASE:1.7
	RELENG_5_2_0_RELEASE:1.7
	RELENG_5_2:1.7.0.6
	RELENG_5_2_BP:1.7
	RELENG_4_9_0_RELEASE:1.3.2.2
	RELENG_4_9:1.3.2.2.0.12
	RELENG_4_9_BP:1.3.2.2
	RELENG_5_1_0_RELEASE:1.7
	RELENG_5_1:1.7.0.4
	RELENG_5_1_BP:1.7
	RELENG_4_8_0_RELEASE:1.3.2.2
	RELENG_4_8:1.3.2.2.0.10
	RELENG_4_8_BP:1.3.2.2
	RELENG_5_0_0_RELEASE:1.7
	RELENG_5_0:1.7.0.2
	RELENG_5_0_BP:1.7
	RELENG_4_7_0_RELEASE:1.3.2.2
	RELENG_4_7:1.3.2.2.0.8
	RELENG_4_7_BP:1.3.2.2
	RELENG_4_6_2_RELEASE:1.3.2.2
	RELENG_4_6_1_RELEASE:1.3.2.2
	RELENG_4_6_0_RELEASE:1.3.2.2
	RELENG_4_6:1.3.2.2.0.6
	RELENG_4_6_BP:1.3.2.2
	RELENG_4_5_0_RELEASE:1.3.2.2
	RELENG_4_5:1.3.2.2.0.4
	RELENG_4_5_BP:1.3.2.2
	RELENG_4_4_0_RELEASE:1.3.2.2
	RELENG_4_4:1.3.2.2.0.2
	RELENG_4_4_BP:1.3.2.2
	KSE_MILESTONE_2:1.6
	KSE_PRE_MILESTONE_2:1.6
	RELENG_4_3_0_RELEASE:1.3.2.1
	RELENG_4_3:1.3.2.1.0.2
	RELENG_4_3_BP:1.3.2.1
	RELENG_4_2_0_RELEASE:1.3
	RELENG_4_1_1_RELEASE:1.3
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.3
	RELENG_4_0_0_RELEASE:1.3
	RELENG_4:1.3.0.2
	RELENG_4_BP:1.3;
locks; strict;
comment	@# @;


1.10
date	2006.05.11.22.25.23;	author jhb;	state dead;
branches;
next	1.9;

1.9
date	2004.12.21.08.47.12;	author ru;	state Exp;
branches
	1.9.2.1
	1.9.12.1;
next	1.8;

1.8
date	2004.02.11.22.01.17;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.10.09.26.28;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.10.22.31.05;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2001.04.07.23.52.31;	author gallatin;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.27.02.15.13;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	99.09.03.19.42.14;	author msmith;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	99.09.01.09.38.20;	author dfr;	state Exp;
branches;
next	1.1;

1.1
date	99.09.01.09.11.09;	author dfr;	state Exp;
branches;
next	;

1.9.2.1
date	2012.11.17.07.42.31;	author svnexp;	state Exp;
branches;
next	;

1.9.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.3.2.1
date	2000.11.27.02.16.39;	author obrien;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2001.08.01.20.52.58;	author mjacob;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2012.11.17.07.25.17;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.10
log
@First pass at removing Alpha kernel support.
@
text
@# $FreeBSD: src/sys/boot/alpha/cdboot/Makefile,v 1.9 2004/12/21 08:47:12 ru Exp $

BOOT= 		cdboot
NO_MAN=
NEWVERSWHAT=	"SRM CD9660 boot" alpha
LOAD_ADDRESS=	${PRIMARY_LOAD_ADDRESS}

CFLAGS+=	-DLOADER_CDROM_SUPPORT

.include "${.CURDIR}/../common/Makefile.common"
@


1.9
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.9.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/boot/alpha/cdboot/Makefile 139103 2004-12-21 08:47:35Z ru $
@


1.9.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.8
log
@Overhaul makefiles.
@
text
@d4 1
a4 1
NOMAN=
@


1.7
log
@-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
@
text
@d3 1
a3 2
BASE= 		cdboot
PROG= 		${BASE}
d8 1
a8 1
CFLAGS+=	-ffreestanding -DLOADER_CDROM_SUPPORT
d10 1
a10 1
.include <${.CURDIR}/../common/Makefile.common>
@


1.6
log
@Style cleanup.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/alpha/cdboot/Makefile,v 1.5 2001/04/07 23:52:31 gallatin Exp $
d9 1
a9 1
CFLAGS+=	-DLOADER_CDROM_SUPPORT
@


1.5
log
@build cdboot from sources now that the cd9660 fs support works
MFC candidate
@
text
@d1 1
a1 1
#	$FreeBSD: src/sys/boot/alpha/cdboot/Makefile,v 1.4 2000/11/27 02:15:13 obrien Exp $
d11 1
a11 1
.include	<${.CURDIR}/../common/Makefile.common>
@


1.4
log
@`cdboot' is broken as it cannot load a kernel.
The release engineer keeps using the wrong /boot/cdboot when creating the
ISO images.  So we'll add the 4.0-RELEASE cdboot to the tree until someone
bothers to fix the source so a working `cdboot' is built.
@
text
@d1 1
a1 1
#	$FreeBSD: src/sys/boot/alpha/cdboot/Makefile,v 1.3 1999/09/03 19:42:14 msmith Exp $
a2 1
BINDIR=		/boot
d6 2
a7 1
STRIP=
d9 1
a9 2
${BASE}: ${BASE}-4.0R.gz.uu
	uudecode -p ${.CURDIR}/${BASE}-4.0R.gz.uu | gunzip > ${BASE}
d11 1
a11 1
.include <bsd.prog.mk>
@


1.3
log
@Slight reorganisation of the Alpha/SRM loader build:

 - Make as much of the makefile for each of the three flavours
   (disk, CDROM, net) common.
 - Special-case the libalpha startup module on its use in boot1, not
   the other way around.
 - Build the loader out of a "loader" directory

Reviewed by:	mjacob, dfr
@
text
@d1 1
a1 1
#	$FreeBSD: src/sys/boot/alpha/cdboot/Makefile,v 1.2 1999/09/01 09:38:20 dfr Exp $
d3 1
d7 1
a7 2
NEWVERSWHAT=	"SRM CD9660 boot" alpha
LOAD_ADDRESS=	${PRIMARY_LOAD_ADDRESS}
d9 2
a10 1
CFLAGS+=	-DLOADER_CDROM_SUPPORT
d12 1
a12 1
.include	<${.CURDIR}/../common/Makefile.common>
@


1.3.2.1
log
@MFC: "build" the 4.0-RELEASE `cdboot' binary until the source is fixed.
@
text
@d1 1
a1 1
#	$FreeBSD$
a2 1
BINDIR=		/boot
d6 2
a7 1
STRIP=
d9 1
a9 2
${BASE}: ${BASE}-4.0R.gz.uu
	uudecode -p ${.CURDIR}/${BASE}-4.0R.gz.uu | gunzip > ${BASE}
d11 1
a11 1
.include <bsd.prog.mk>
@


1.3.2.2
log
@MFC 1.5- we can build cdboot now. We'll not Attic-ize the old cdboot 4.0
image until we're sure this is all shaken out.

Approved by:	jkh
@
text
@d1 1
a1 1
#	$FreeBSD: $
d3 1
d7 1
a7 2
NEWVERSWHAT=	"SRM CD9660 boot" alpha
LOAD_ADDRESS=	${PRIMARY_LOAD_ADDRESS}
d9 2
a10 1
CFLAGS+=	-DLOADER_CDROM_SUPPORT
d12 1
a12 1
.include	<${.CURDIR}/../common/Makefile.common>
@


1.3.2.3
log
@Switch importer
@
text
@d1 1
a1 1
#	$FreeBSD: stable/4/sys/boot/alpha/cdboot/Makefile 80982 2001-08-01 20:52:58Z mjacob $
@


1.2
log
@Change $Id$ to $FreeBSD$
@
text
@d1 1
a1 2
#	$FreeBSD$
#	$NetBSD: Makefile,v 1.12 1998/02/19 14:18:36 drochner Exp $
d7 1
d9 1
a9 62
.PATH:		${.CURDIR}/../common

# i386-specific bootstrap sources
SRCS+=		main.c conf.c

# Always add MI sources 
.PATH:		${.CURDIR}/../../common
.include	<${.CURDIR}/../../common/Makefile.inc>
CFLAGS+=	-mno-fp-regs
CFLAGS+=	-I${.CURDIR}/../../common -I${.CURDIR}
CFLAGS+=	-I${.CURDIR}/../../.. -I.
CFLAGS+=	-I${.OBJDIR}
CFLAGS+=	-DCDBOOT

CLEANFILES+=	vers.c vers.o gensetdefs.o gensetdefs setdef0.o setdef1.o \
		setdefs.h start.o
CLEANFILES+=	${BASE} ${BASE}.sym ${BASE}.list

CFLAGS+=	-Wall

CFLAGS+=	-I${LIBSTANDDIR}
CFLAGS+=	-I${.CURDIR}/..
CRT=		start.o
STRIP=
BINDIR?=	/boot

all: ${BASE}

vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
	sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
	${CC} -c vers.c

${BASE}: ${BASE}.sym
	objcopy -O binary ${BASE}.sym ${BASE}

${BASE}.nosym: ${BASE}.sym
	cp ${BASE}.sym ${BASE}.nosym
	strip ${BASE}.nosym

${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBALPHA} ${CRT} vers.o setdef0.o setdef1.o
	${LD} -o ${BASE}.sym -M -e start -N -Ttext ${PRIMARY_LOAD_ADDRESS} \
	${CRT} setdef0.o ${OBJS} setdef1.o \
	vers.o ${LIBSTAND} ${LIBALPHA} ${LIBSTAND} >${.OBJDIR}/${BASE}.list

start.o:	${.CURDIR}/../libalpha/start.S
	${CC} -c ${CFLAGS} $<

setdef0.o: setdefs.h

setdef1.o: setdefs.h

.include <bsd.prog.mk>

setdefs.h: gensetdefs ${OBJS}
	@@echo Generating linker sets
	@@./gensetdefs ${OBJS} >setdefs.h

gensetdefs: gensetdefs.o
	${CC} -static gensetdefs.o -o $@@

gensetdefs.o: gensetdefs.c
	${CC} -c $<
d11 1
@


1.1
log
@* Fix a stack of warnings.
* Make it possible to type a filename to boot1 so that it is possible to
  recover from fatally broken versions of /boot/loader.
* Make a start at a CD boot program (not yet functional).
@
text
@d1 1
@
