head	1.17;
access;
symbols
	RELENG_8_4:1.17.0.2
	RELENG_9_1_0_RELEASE:1.16.2.1.4.2
	RELENG_9_1:1.16.2.1.0.4
	RELENG_9_1_BP:1.16.2.1
	RELENG_8_3_0_RELEASE:1.15.22.1.8.1
	RELENG_8_3:1.15.22.1.0.8
	RELENG_8_3_BP:1.15.22.1
	RELENG_9_0_0_RELEASE:1.16.2.1.2.1
	RELENG_9_0:1.16.2.1.0.2
	RELENG_9_0_BP:1.16.2.1
	RELENG_9:1.16.0.2
	RELENG_9_BP:1.16
	RELENG_7_4_0_RELEASE:1.15.26.1
	RELENG_8_2_0_RELEASE:1.15.22.1.6.1
	RELENG_7_4:1.15.0.26
	RELENG_7_4_BP:1.15
	RELENG_8_2:1.15.22.1.0.6
	RELENG_8_2_BP:1.15.22.1
	RELENG_8_1_0_RELEASE:1.15.22.1.4.1
	RELENG_8_1:1.15.22.1.0.4
	RELENG_8_1_BP:1.15.22.1
	RELENG_7_3_0_RELEASE:1.15.24.1
	RELENG_7_3:1.15.0.24
	RELENG_7_3_BP:1.15
	RELENG_8_0_0_RELEASE:1.15.22.1.2.1
	RELENG_8_0:1.15.22.1.0.2
	RELENG_8_0_BP:1.15.22.1
	RELENG_8:1.15.0.22
	RELENG_8_BP:1.15
	RELENG_7_2_0_RELEASE:1.15.20.1
	RELENG_7_2:1.15.0.20
	RELENG_7_2_BP:1.15
	RELENG_7_1_0_RELEASE:1.15.18.1
	RELENG_6_4_0_RELEASE:1.15.16.1
	RELENG_7_1:1.15.0.18
	RELENG_7_1_BP:1.15
	RELENG_6_4:1.15.0.16
	RELENG_6_4_BP:1.15
	RELENG_7_0_0_RELEASE:1.15
	RELENG_6_3_0_RELEASE:1.15
	RELENG_7_0:1.15.0.14
	RELENG_7_0_BP:1.15
	RELENG_6_3:1.15.0.12
	RELENG_6_3_BP:1.15
	RELENG_7:1.15.0.10
	RELENG_7_BP:1.15
	RELENG_6_2_0_RELEASE:1.15
	RELENG_6_2:1.15.0.8
	RELENG_6_2_BP:1.15
	RELENG_5_5_0_RELEASE:1.13.2.1
	RELENG_5_5:1.13.2.1.0.4
	RELENG_5_5_BP:1.13.2.1
	RELENG_6_1_0_RELEASE:1.15
	RELENG_6_1:1.15.0.6
	RELENG_6_1_BP:1.15
	RELENG_6_0_0_RELEASE:1.15
	RELENG_6_0:1.15.0.4
	RELENG_6_0_BP:1.15
	RELENG_6:1.15.0.2
	RELENG_6_BP:1.15
	RELENG_5_4_0_RELEASE:1.13.2.1
	RELENG_5_4:1.13.2.1.0.2
	RELENG_5_4_BP:1.13.2.1
	RELENG_4_11_0_RELEASE:1.2.2.1
	RELENG_4_11:1.2.2.1.0.18
	RELENG_4_11_BP:1.2.2.1
	RELENG_5_3_0_RELEASE:1.13
	RELENG_5_3:1.13.0.4
	RELENG_5_3_BP:1.13
	RELENG_5:1.13.0.2
	RELENG_5_BP:1.13
	RELENG_4_10_0_RELEASE:1.2.2.1
	RELENG_4_10:1.2.2.1.0.16
	RELENG_4_10_BP:1.2.2.1
	RELENG_5_2_1_RELEASE:1.6
	RELENG_5_2_0_RELEASE:1.6
	RELENG_5_2:1.6.0.6
	RELENG_5_2_BP:1.6
	RELENG_4_9_0_RELEASE:1.2.2.1
	RELENG_4_9:1.2.2.1.0.14
	RELENG_4_9_BP:1.2.2.1
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.4
	RELENG_5_1_BP:1.6
	RELENG_4_8_0_RELEASE:1.2.2.1
	RELENG_4_8:1.2.2.1.0.12
	RELENG_4_8_BP:1.2.2.1
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.2
	RELENG_5_0_BP:1.6
	RELENG_4_7_0_RELEASE:1.2.2.1
	RELENG_4_7:1.2.2.1.0.10
	RELENG_4_7_BP:1.2.2.1
	RELENG_4_6_2_RELEASE:1.2.2.1
	RELENG_4_6_1_RELEASE:1.2.2.1
	RELENG_4_6_0_RELEASE:1.2.2.1
	RELENG_4_6:1.2.2.1.0.8
	RELENG_4_6_BP:1.2.2.1
	RELENG_4_5_0_RELEASE:1.2.2.1
	RELENG_4_5:1.2.2.1.0.6
	RELENG_4_5_BP:1.2.2.1
	RELENG_4_4_0_RELEASE:1.2.2.1
	RELENG_4_4:1.2.2.1.0.4
	RELENG_4_4_BP:1.2.2.1
	KSE_MILESTONE_2:1.5
	KSE_PRE_MILESTONE_2:1.5
	RELENG_4_3_0_RELEASE:1.2.2.1
	RELENG_4_3:1.2.2.1.0.2
	RELENG_4_3_BP:1.2.2.1
	RELENG_4_2_0_RELEASE:1.2.2.1
	RELENG_4_1_1_RELEASE:1.2.2.1
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.2.2.1
	RELENG_3_5_0_RELEASE:1.1.1.1.2.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.2
	RELENG_4_BP:1.2
	RELENG_3_4_0_RELEASE:1.1.1.1.2.2
	RELENG_3_3_0_RELEASE:1.1.1.1.2.2
	RELENG_3:1.1.1.1.0.2
	v1:1.1.1.1
	RNORDIER:1.1.1;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.01.51.18;	author svnexp;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2010.06.03.17.42.32;	author ed;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	2004.12.21.08.47.15;	author ru;	state Exp;
branches
	1.15.2.1
	1.15.10.1
	1.15.16.1
	1.15.18.1
	1.15.20.1
	1.15.22.1
	1.15.24.1
	1.15.26.1;
next	1.14;

1.14
date	2004.08.28.08.39.35;	author yar;	state Exp;
branches;
next	1.13;

1.13
date	2004.04.28.21.31.21;	author ru;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2004.04.27.19.45.16;	author ru;	state Exp;
branches;
next	1.11;

1.11
date	2004.04.25.20.36.44;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2004.04.25.19.50.20;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2004.02.09.14.11.57;	author ru;	state Exp;
branches;
next	1.8;

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

1.7
date	2004.02.06.12.58.32;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2002.09.17.01.48.55;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.21.14.32.45;	author rnordier;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.02.17.23.16;	author rnordier;	state Exp;
branches;
next	1.3;

1.3
date	2000.05.23.12.28.31;	author jhb;	state Exp;
branches;
next	1.2;

1.2
date	99.08.28.00.40.20;	author peter;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.05.24.22.36.23;	author rnordier;	state Exp;
branches
	1.1.1.1;
next	;

1.17.2.1
date	2012.11.17.01.51.18;	author svnexp;	state dead;
branches;
next	1.17.2.2;

1.17.2.2
date	2013.03.28.13.04.02;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.16.2.1.2.1
	1.16.2.1.4.1;
next	1.16.2.2;

1.16.2.2
date	2012.11.17.11.36.47;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.16.2.1.2.2;

1.16.2.1.2.2
date	2012.11.17.08.36.46;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.16.2.1.4.2;

1.16.2.1.4.2
date	2012.11.17.08.47.36;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2012.11.17.07.42.39;	author svnexp;	state Exp;
branches;
next	;

1.15.10.1
date	2012.11.17.08.04.54;	author svnexp;	state Exp;
branches;
next	;

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

1.15.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.15.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.15.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.15.22.1.2.1
	1.15.22.1.4.1
	1.15.22.1.6.1
	1.15.22.1.8.1;
next	1.15.22.2;

1.15.22.2
date	2012.11.17.10.36.27;	author svnexp;	state Exp;
branches;
next	;

1.15.22.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.15.22.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.15.22.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.15.22.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.15.22.1.8.2;

1.15.22.1.8.2
date	2012.11.17.08.25.07;	author svnexp;	state Exp;
branches;
next	;

1.15.24.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.15.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.15.26.2;

1.15.26.2
date	2012.11.17.08.17.05;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	2004.12.02.19.01.44;	author yar;	state Exp;
branches;
next	;

1.2.2.1
date	2000.07.06.23.04.29;	author obrien;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2012.11.17.07.25.21;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	99.05.24.22.36.23;	author rnordier;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	99.07.28.08.34.09;	author rnordier;	state Exp;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	99.08.29.16.21.08;	author peter;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/boot/i386/mbr/Makefile 208789 2010-06-03 17:42:32Z ed $

PROG=	mbr
STRIP=
BINMODE=${NOBINMODE}
NO_MAN=
SRCS=	${PROG}.s

# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
BOOT_MBR_FLAGS?=	0x80

ORG=	0x600

AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary

.include <bsd.prog.mk>
@


1.17.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:04:02 +0000
@
text
@d1 17
@


1.17.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 17
# $FreeBSD: releng/8.4/sys/boot/i386/mbr/Makefile 139103 2004-12-21 08:47:35Z ru $

PROG=	mbr
STRIP=
BINMODE=${NOBINMODE}
NO_MAN=
SRCS=	${PROG}.s

# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
BOOT_MBR_FLAGS?=	0x80

ORG=	0x600

AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
LDFLAGS=-N -e start -Ttext ${ORG} -Wl,-S,--oformat,binary

.include <bsd.prog.mk>
@


1.16
log
@SVN rev 208789 on 2010-06-03 17:42:32Z by ed

Use -Wl,-N instead of the undocumented -N option for GCC.

GCC forwards the -N flag directly to ld. This flag is not documented and
not supported by (for example) Clang. Just use -Wl,-N.

Submitted by:	Pawel Worach
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.16.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.16.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/boot/i386/mbr/Makefile 208789 2010-06-03 17:42:32Z ed $
@


1.16.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.16.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/boot/i386/mbr/Makefile 208789 2010-06-03 17:42:32Z ed $
@


1.16.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.16.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/boot/i386/mbr/Makefile 208789 2010-06-03 17:42:32Z ed $
@


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

OK'ed by:	core
@
text
@d15 1
a15 1
LDFLAGS=-N -e start -Ttext ${ORG} -Wl,-S,--oformat,binary
@


1.15.10.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/boot/i386/mbr/Makefile 139103 2004-12-21 08:47:35Z ru $
@


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


1.15.26.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.15.26.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/boot/i386/mbr/Makefile 139103 2004-12-21 08:47:35Z ru $
@


1.15.24.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.15.22.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.15.22.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/boot/i386/mbr/Makefile 139103 2004-12-21 08:47:35Z ru $
@


1.15.22.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.15.22.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/boot/i386/mbr/Makefile 139103 2004-12-21 08:47:35Z ru $
@


1.15.22.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.15.22.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.15.22.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.15.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.15.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.15.16.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.14
log
@Don't be too smart, just try packet mode of INT13 first.
This way of operation is more robust than the "AI" used
before.

Add flags to mbr accessible from make.conf as BOOT_MBR_FLAGS.
Only one flag is defined now, "allow using packet mode", which
is 0x80 in accord with the rest of i386 boot code.  The "packet"
flag is on by default.

PR:             i386/70241
Submitted by:   Valentin Nechayev <netch <@@> netch.kiev.ua> (inital version)
Discussed with: jhb (by Valentin Nechayev)
Tested on:      bochs (with EDD turned on or off by patching the BIOS), PCs
@
text
@d6 1
a6 1
NOMAN=
@


1.13
log
@Thanks to David's patches, we can now simplify these makefiles
further, and just use PROG directly (without FILES).

Suggested by:	bde
@
text
@d9 3
d14 1
@


1.13.2.1
log
@MFC:	Try using packet mode by default, but provide a user
	with a knob to disable it at build time--flag 0x80 for
	BOOT_MBR_FLAGS and BOOT_BOOT1_FLAGS.  In fact, disabling
	packet mode completely, even a test for it, should be
	necessary only for old and brain-damaged machines FreeBSD 5
	will hardly run on.

	mbr/Makefile	1.14
	mbr/mbr.s	1.7
	boot2/Makefile	1.57
	boot2/boot1.S	1.30

Encouraged by:	Valentin Nechayev
@
text
@a8 3
# MBR flags: 0x80 -- try packet interface (also known as EDD or LBA)
BOOT_MBR_FLAGS?=	0x80

a10 1
AFLAGS+=--defsym FLAGS=${BOOT_MBR_FLAGS}
@


1.12
log
@Removed now redundant CLEANFILES assignments.

Not read enough of my patch by:	obrien ;)
@
text
@d3 3
a5 3
PROG=	${BOOT}
INTERNALPROG=
FILES=	${BOOT}
d7 1
a7 1
SRCS=	${BOOT}.s
a8 1
BOOT=	mbr
@


1.11
log
@Use a more compact syntax for passing the "binary" options to 'ld'.
@
text
@a7 1
CLEANFILES= ${BOOT}
@


1.10
log
@Simplify the building of our i386 'binary' boot components by directly
producing them using 'ld' options rather than post-processing with 'objcopy'.

Idea by:	Ryan Sommers <ryans@@gamersimpact.com>
@
text
@d13 1
a13 1
LDFLAGS=-N -e start -Ttext ${ORG} -Wl,-S -Wl,--oformat -Wl,binary
@


1.9
log
@- Factor out -nostdlib to an upper level Makefile.inc.

- Now that bsd.prog.mk deals with programs linked with -nostdlib
  better, and has a notion of an "internal" program, use PROG
  where possible.  This has a good impact on the contents of
  .depend files and causes programs to be linked with cc(1).

XXX: boot2 couldn't be converted as it's actually two programs.

Tested on:	i386, amd64
@
text
@d3 1
a3 1
PROG=	${BOOT}.out
d13 1
a13 4
${BOOT}: ${BOOT}.out
	objcopy -S -O binary ${BOOT}.out ${.TARGET}

LDFLAGS=-N -e start -Ttext ${ORG}
@


1.8
log
@First round of cleanups to sys/boot/ makefiles:

- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.

Tested on:	i386, amd64
Prodded by:	bde
@
text
@d3 2
d6 3
a8 1
CLEANFILES= ${BOOT} ${BOOT}.out ${BOOT}.o
d16 1
a16 2
${BOOT}.out: ${BOOT}.o
	${LD} -N -e start -Ttext ${ORG} -o ${.TARGET} ${BOOT}.o
@


1.7
log
@Inherit BINDIR from a parent Makefile.inc.
@
text
@d3 2
a4 4
PROG=		mbr
NOMAN=
STRIP=
BINMODE=	444
d6 1
d9 2
a10 3
mbr: mbr.o
	${LD} -N -e start -Ttext ${ORG} -o mbr.out mbr.o
	objcopy -S -O binary mbr.out ${.TARGET}
d12 2
a13 1
CLEANFILES+= mbr.out mbr.o
@


1.6
log
@Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
@
text
@a5 1
BINDIR?=	/boot
@


1.5
log
@Unset MAINTAINER.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/i386/mbr/Makefile,v 1.4 2000/10/02 17:23:16 rnordier Exp $
a11 4
.if ${OBJFORMAT} == aout
	${LD} -N -s -T ${ORG} -o mbr.out mbr.o
	dd if=mbr.out of=${.TARGET} ibs=32 skip=1
.else
a13 1
.endif
@


1.4
log
@Set MAINTAINER.
@
text
@d1 1
a1 3
# $FreeBSD: src/sys/boot/i386/mbr/Makefile,v 1.3 2000/05/23 12:28:31 jhb Exp $

MAINTAINER=	rnordier
@


1.3
log
@Clean up some more 16-bit code and get rid of more m4 macros.
@
text
@d1 3
a3 1
# $FreeBSD: src/sys/boot/i386/mbr/Makefile,v 1.2 1999/08/28 00:40:20 peter Exp $
@


1.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
a8 2
M4?=	m4

a18 4

mbr.o: mbr.m4 mbr.s
	(cd ${.CURDIR}; ${M4} mbr.m4 mbr.s) | \
		${AS} ${AFLAGS} -o ${.TARGET}
@


1.2.2.1
log
@MFC:  clean up all of the 16-bit assembly code in the x86 bootstrap to work
      with Binutils 2.10.0 -- all the old m4 macros are no longer needed.

Also MFC rev 1.18-22 sys/boot/i386/btx/btx/btx.s (change string and support
                     new instructions).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/i386/mbr/Makefile,v 1.2 1999/08/28 00:40:20 peter Exp $
d9 2
d21 4
@


1.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/boot/i386/mbr/Makefile 62703 2000-07-06 23:04:33Z obrien $
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$Id: $
@


1.1.1.1
log
@Add mbr: a standard master boot record intended to replace a couple
that are presently embedded in the fdisk and sysinstall code.
@
text
@@


1.1.1.1.2.1
log
@MFC: Add mbr.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1.1.1 1999/05/24 22:36:23 rnordier Exp $
@


1.1.1.1.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@
