head	1.24;
access;
symbols
	RELENG_8_4:1.24.0.2
	RELENG_9_1_0_RELEASE:1.23.2.1.4.2
	RELENG_9_1:1.23.2.1.0.4
	RELENG_9_1_BP:1.23.2.1
	RELENG_8_3_0_RELEASE:1.22.2.1.8.1
	RELENG_8_3:1.22.2.1.0.8
	RELENG_8_3_BP:1.22.2.1
	RELENG_9_0_0_RELEASE:1.23.2.1.2.1
	RELENG_9_0:1.23.2.1.0.2
	RELENG_9_0_BP:1.23.2.1
	RELENG_9:1.23.0.2
	RELENG_9_BP:1.23
	RELENG_7_4_0_RELEASE:1.20.12.1
	RELENG_8_2_0_RELEASE:1.22.2.1.6.1
	RELENG_7_4:1.20.0.12
	RELENG_7_4_BP:1.20
	RELENG_8_2:1.22.2.1.0.6
	RELENG_8_2_BP:1.22.2.1
	RELENG_8_1_0_RELEASE:1.22.2.1.4.1
	RELENG_8_1:1.22.2.1.0.4
	RELENG_8_1_BP:1.22.2.1
	RELENG_7_3_0_RELEASE:1.20.10.1
	RELENG_7_3:1.20.0.10
	RELENG_7_3_BP:1.20
	RELENG_8_0_0_RELEASE:1.22.2.1.2.1
	RELENG_8_0:1.22.2.1.0.2
	RELENG_8_0_BP:1.22.2.1
	RELENG_8:1.22.0.2
	RELENG_8_BP:1.22
	RELENG_7_2_0_RELEASE:1.20.8.1
	RELENG_7_2:1.20.0.8
	RELENG_7_2_BP:1.20
	RELENG_7_1_0_RELEASE:1.20.6.1
	RELENG_6_4_0_RELEASE:1.18.12.1
	RELENG_7_1:1.20.0.6
	RELENG_7_1_BP:1.20
	RELENG_6_4:1.18.0.12
	RELENG_6_4_BP:1.18
	RELENG_7_0_0_RELEASE:1.20
	RELENG_6_3_0_RELEASE:1.18
	RELENG_7_0:1.20.0.4
	RELENG_7_0_BP:1.20
	RELENG_6_3:1.18.0.10
	RELENG_6_3_BP:1.18
	RELENG_7:1.20.0.2
	RELENG_7_BP:1.20
	RELENG_6_2_0_RELEASE:1.18
	RELENG_6_2:1.18.0.8
	RELENG_6_2_BP:1.18
	RELENG_6_1_0_RELEASE:1.18
	RELENG_6_1:1.18.0.6
	RELENG_6_1_BP:1.18
	RELENG_6_0_0_RELEASE:1.18
	RELENG_6_0:1.18.0.4
	RELENG_6_0_BP:1.18
	RELENG_6:1.18.0.2
	RELENG_6_BP:1.18
	old_RELENG_5:1.14.0.2
	old_RELENG_5_BP:1.14
	old_RELENG_5_2_1_RELEASE:1.12
	old_RELENG_5_2_0_RELEASE:1.12
	old_RELENG_5_2:1.12.0.2
	old_RELENG_5_2_BP:1.12
	old_RELENG_5_1_0_RELEASE:1.10
	old_RELENG_5_1:1.10.0.2
	old_RELENG_5_1_BP:1.10
	old_RELENG_5_0_0_RELEASE:1.9
	old_RELENG_5_0:1.9.0.2
	old_RELENG_5_0_BP:1.9
	old_KSE_MILESTONE_2:1.1;
locks; strict;
comment	@# @;


1.24
date	2012.11.17.01.51.18;	author svnexp;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2010.08.23.01.50.34;	author imp;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2009.02.21.15.04.31;	author ru;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2008.06.25.21.33.28;	author ru;	state Exp;
branches;
next	1.20;

1.20
date	2006.11.05.22.03.04;	author marcel;	state Exp;
branches
	1.20.2.1
	1.20.6.1
	1.20.8.1
	1.20.10.1
	1.20.12.1;
next	1.19;

1.19
date	2006.03.17.18.54.35;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	2004.12.21.12.32.14;	author ru;	state Exp;
branches
	1.18.2.1
	1.18.12.1;
next	1.17;

1.17
date	2004.12.21.08.47.16;	author ru;	state Exp;
branches;
next	1.16;

1.16
date	2004.09.24.04.06.22;	author marcel;	state Exp;
branches;
next	1.15;

1.15
date	2004.09.24.03.51.06;	author marcel;	state Exp;
branches;
next	1.14;

1.14
date	2004.02.13.04.45.41;	author marcel;	state Exp;
branches;
next	1.13;

1.13
date	2004.02.12.08.10.34;	author ru;	state Exp;
branches;
next	1.12;

1.12
date	2003.11.09.06.53.37;	author marcel;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.17.01.49.59;	author marcel;	state Exp;
branches;
next	1.10;

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

1.9
date	2002.05.10.09.26.32;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.07.04.26.42;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.06.04.33.53;	author peter;	state Exp;
branches;
next	1.6;

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

1.5
date	2002.03.29.22.53.56;	author marcel;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.28.06.52.10;	author marcel;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.19.10.51.57;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	2001.09.26.00.13.08;	author peter;	state Exp;
branches;
next	1.1;

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

1.24.2.1
date	2012.11.17.01.51.18;	author svnexp;	state dead;
branches;
next	1.24.2.2;

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

1.23.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.23.2.1.2.1
	1.23.2.1.4.1;
next	1.23.2.2;

1.23.2.2
date	2012.11.17.11.36.48;	author svnexp;	state Exp;
branches;
next	;

1.23.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.23.2.1.2.2;

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

1.23.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.23.2.1.4.2;

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

1.22.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.22.2.1.2.1
	1.22.2.1.4.1
	1.22.2.1.6.1
	1.22.2.1.8.1;
next	1.22.2.2;

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

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

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

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

1.22.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.22.2.1.8.2;

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

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

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

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

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

1.20.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.20.12.2;

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

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

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


desc
@@


1.24
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/boot/ia64/ski/Makefile 211680 2010-08-23 01:50:34Z imp $

NO_MAN=

.include <bsd.own.mk>
MK_SSP=		no

PROG=		skiload
STRIP=		# We must not strip skiload at install time.

SRCS=		acpi_stub.c conf.c delay.c efi_stub.c exit.c main.c \
		pal_stub.S sal_stub.c skiconsole.c skifs.c skimd.c \
		ssc.c start.S time.c vers.c

CFLAGS+=	-I${.CURDIR}/../common
CFLAGS+=	-I${.CURDIR}/../../common
CFLAGS+=	-I${.CURDIR}/../../..
CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand

LDSCRIPT=	${.CURDIR}/ldscript.${MACHINE_CPUARCH}
LDFLAGS=	-Wl,-T${LDSCRIPT}

NEWVERSWHAT=	"SKI boot" ${MACHINE_CPUARCH}

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

CLEANFILES=	vers.c

LIBIA64=	${.OBJDIR}/../common/libia64.a
.if ${MK_FORTH} != "no"
LIBFICL=	${.OBJDIR}/../../ficl/libficl.a
.endif

DPADD=		${LIBIA64} ${LIBFICL} ${LIBSTAND}
LDADD=		-Wl,--whole-archive ${LIBIA64} -Wl,--no-whole-archive \
		    ${LIBFICL} -lstand

.include <bsd.prog.mk>
@


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


1.24.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 39
# $FreeBSD: releng/8.4/sys/boot/ia64/ski/Makefile 188895 2009-02-21 15:04:31Z ru $

NO_MAN=

.include <bsd.own.mk>
MK_SSP=		no

PROG=		skiload
STRIP=		# We must not strip skiload at install time.

SRCS=		acpi_stub.c conf.c delay.c efi_stub.c exit.c main.c \
		pal_stub.S sal_stub.c skiconsole.c skifs.c skimd.c \
		ssc.c start.S time.c vers.c

CFLAGS+=	-I${.CURDIR}/../common
CFLAGS+=	-I${.CURDIR}/../../common
CFLAGS+=	-I${.CURDIR}/../../..
CFLAGS+=	-I${.CURDIR}/../../../../lib/libstand

LDSCRIPT=	${.CURDIR}/ldscript.${MACHINE_ARCH}
LDFLAGS=	-Wl,-T${LDSCRIPT}

NEWVERSWHAT=	"SKI boot" ${MACHINE_ARCH}

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

CLEANFILES=	vers.c

LIBIA64=	${.OBJDIR}/../common/libia64.a
.if ${MK_FORTH} != "no"
LIBFICL=	${.OBJDIR}/../../ficl/libficl.a
.endif

DPADD=		${LIBIA64} ${LIBFICL} ${LIBSTAND}
LDADD=		-Wl,--whole-archive ${LIBIA64} -Wl,--no-whole-archive \
		    ${LIBFICL} -lstand

.include <bsd.prog.mk>
@


1.23
log
@SVN rev 211680 on 2010-08-23 01:50:34Z by imp

MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.23.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.23.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/ia64/ski/Makefile 211680 2010-08-23 01:50:34Z imp $
@


1.23.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.23.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/boot/ia64/ski/Makefile 211680 2010-08-23 01:50:34Z imp $
@


1.23.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.23.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/boot/ia64/ski/Makefile 211680 2010-08-23 01:50:34Z imp $
@


1.22
log
@SVN rev 188895 on 2009-02-21 15:04:31Z by ru

Fix build when WITH_SSP is set explicitly.

Submitted by:	Jeremie Le Hen
@
text
@d20 1
a20 1
LDSCRIPT=	${.CURDIR}/ldscript.${MACHINE_ARCH}
d23 1
a23 1
NEWVERSWHAT=	"SKI boot" ${MACHINE_ARCH}
@


1.22.2.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.22.2.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/ia64/ski/Makefile 188895 2009-02-21 15:04:31Z ru $
@


1.22.2.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.22.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/boot/ia64/ski/Makefile 188895 2009-02-21 15:04:31Z ru $
@


1.22.2.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.22.2.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.22.2.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.21
log
@SVN rev 180012 on 2008-06-25 21:33:28Z by ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
  turned opt-in for stable branches depending on the consensus.  You
  can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
  It is harmless to steal the knob as SSP symbols have been provided
  by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
  (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
  libc will be automatically downgraded to -fstack-protector because it
  breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by:	Jeremie Le Hen <jeremie@@le-hen.org>
@
text
@a3 1
WITHOUT_SSP=
d6 1
@


1.20
log
@Major rework of the ia64 loaders. The two primary objectives are:
1. Make libefi portable by removing ia64 specific code and build
   it on i386 and amd64 by default to prevent regressions. These
   changes include fixes and improvements over previous code to
   establish or improve APIs where none existed or when the amount
   of kluging was unacceptably high.
2. Increase the amount of sharing between the efi and ski loaders
   to improve maintainability of the loaders and simplify making
   changes to the loader-kernel handshaking in the future.

The version of the efi and ski loaders are now both changed to 1.2
as user visible improvements and changes have been made.
@
text
@d4 1
@


1.20.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/boot/ia64/ski/Makefile 164010 2006-11-05 22:03:04Z marcel $
@


1.20.12.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.20.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/boot/ia64/ski/Makefile 164010 2006-11-05 22:03:04Z marcel $
@


1.20.10.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.20.8.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.20.6.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.19
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@a7 1
NEWVERSWHAT=	"ia64 SKI boot" ${MACHINE_ARCH}
d10 3
a12 3
SRCS=		acpi_stub.c bootinfo.c conf.c copy.c delay.c devicename.c \
		efi_stub.c elf_freebsd.c exit.c main.c pal_stub.S sal_stub.c \
		skiconsole.c skifs.c ssc.c start.S time.c vers.c
d14 2
a15 2
CFLAGS+=	-DLOADER
CFLAGS+=	-I${.CURDIR}
d17 1
a17 11
CFLAGS+=	-I${.CURDIR}/../../efi/include
CFLAGS+=	-I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
LDFLAGS=	-Wl,-T${.CURDIR}/ldscript.ia64

.if ${MK_FORTH} != "no"
CFLAGS+=	-DBOOT_FORTH
CFLAGS+=	-I${.CURDIR}/../../ficl
CFLAGS+=	-I${.CURDIR}/../../ficl/${MACHINE_ARCH}
LIBFICL=	${.OBJDIR}/../../ficl/libficl.a
BOOT_FORTH=	yes
.endif
d19 2
a20 4
# Always add MI sources (needs BOOT_FORTH)
.PATH: ${.CURDIR}/../../common
CFLAGS+=	-I${.CURDIR}/../../common
.include "${.CURDIR}/../../common/Makefile.inc"
d22 1
a22 4
DPADD=	${LIBFICL} ${LIBSTAND}
LDADD=	${LIBFICL} -lstand

CLEANFILES=	vers.c ${PROG}.help
d27 6
a32 3
${PROG}.help: help.common
	cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk \
	    > ${.TARGET}
d34 3
a36 1
FILES=	${PROG}.help
@


1.18
log
@NOFORTH -> NO_FORTH
@
text
@d3 4
a7 1
NO_MAN=
d22 1
a22 1
.if !defined(NO_FORTH)
@


1.18.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/boot/ia64/ski/Makefile 139123 2004-12-21 12:32:15Z ru $
@


1.18.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.17
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@d19 1
a19 1
.if !defined(NOFORTH)
@


1.16
log
@Post repocopy build fixes.
@
text
@d4 1
a4 1
NOMAN=
@


1.15
log
@Forced commit to note that this file was repocopied from ../skiload.

Repocopy by: peter
@
text
@d3 1
a3 3
.PATH: ${.CURDIR}/../common

PROG= 		skiload
a5 1
BINDIR?=	/boot
d8 10
a17 1
SRCS=		conf.c main.c start.S vers.c
a19 2
# Enable BootForth
BOOT_FORTH=	yes
d21 2
a22 1
CFLAGS+=	-I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
d24 1
d27 1
a27 3
LIBSKI=		${.OBJDIR}/../libski/libski.a

# Always add MI sources 
d29 1
d32 2
a33 5
CFLAGS+= -I${.CURDIR}/../../common
CFLAGS+= -I${.CURDIR}/../libski
CFLAGS+= -DLOADER

LDFLAGS=	-Wl,-T${.CURDIR}/ldscript.ia64
a44 3

DPADD=	${LIBFICL} ${LIBSKI} ${LIBSTAND}
LDADD=	${LIBFICL} ${LIBSKI} -lstand
@


1.14
log
@Don't create a mapfile during link. It's not needed for the build.
@
text
@@


1.13
log
@Tidy up makefiles.

Tested by:	marcel
@
text
@d31 1
a31 1
LDFLAGS=	-Wl,-T${.CURDIR}/ldscript.ia64 -Wl,-M,-Map,${PROG}.list
d33 1
a33 1
CLEANFILES=	vers.c ${PROG}.list ${PROG}.help
@


1.12
log
@Do not strip skiload when installed. The stripped binary does not load
in the simulator.
@
text
@d11 1
a11 3
SRCS+=		conf.c main.c start.S

CFLAGS+=	-ffreestanding
a17 1
.if exists(${.OBJDIR}/../../ficl/libficl.a)
a18 3
.else
LIBFICL=	${.CURDIR}/../../ficl/libficl.a
.endif
a20 8
# where to get libstand from
.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a)
LIBSTAND=       ${.OBJDIR}/../../../../lib/libstand/libstand.a
.else
LIBSTAND=       ${.CURDIR}/../../../../lib/libstand/libstand.a
.endif

.if exists(${.OBJDIR}/../libski/libski.a)
a21 3
.else
LIBSKI=		${.CURDIR}/../libski/libski.a
.endif
d25 1
a25 1
.include <${.CURDIR}/../../common/Makefile.inc>
d27 1
a27 5
CFLAGS+= -I-
CFLAGS+= -I${.CURDIR}/../include
CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../../.. -I.
d31 1
a31 1
LDFLAGS=	-nostdlib -T ${.CURDIR}/ldscript.ia64
d33 1
a33 3
CLEANFILES+=	vers.c vers.o ${PROG}.list
CLEANFILES+=	loader.help
CLEANFILES+=	machine
d35 1
a35 3
all: ${PROG}

vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
a36 1
	${CC} -c vers.c
d38 1
a38 1
${PROG}.help:	help.common help.efi
d42 1
a42 8
beforeinstall:
.if exists(${.OBJDIR}/${PROG}.help)
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.OBJDIR}/${PROG}.help ${DESTDIR}/boot
.endif

machine:
	ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
d44 2
a45 5
${PROG}: ${OBJS} ${LIBFICL} ${LIBSKI} ${LIBSTAND} vers.o
	${LD} ${LDFLAGS} -o ${PROG} -M \
	    ${OBJS} vers.o \
	    ${LIBFICL} ${LIBSTAND} ${LIBSKI} ${LIBSTAND} \
	    > ${.OBJDIR}/${PROG}.list
a47 2

beforedepend ${OBJS}: machine
@


1.11
log
@Fix the ski loader, broken by the gcc upgrade. Update the linker
script to match the one for the EFI loader and rewrite __start()
in assembly to have gp defined without getting in the way of the
compiler.
@
text
@d9 1
@


1.10
log
@Consistently use NOFORTH to control the usage of ficl.
@
text
@d10 1
a10 1
SRCS+=		main.c conf.c
@


1.9
log
@-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
@
text
@d12 3
a16 4
CFLAGS+=	-ffreestanding
CFLAGS+=	-g
CFLAGS+=	-I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/ia64
.if BOOT_FORTH
d18 1
a23 2
.else
LIBFICL=
@


1.8
log
@Set BINDIR
@
text
@d14 1
@


1.7
log
@Make it a bit closer to the EFI build and tie up some loose ends.
@
text
@d8 1
@


1.6
log
@Do not add the ficl/alpha subdir to the ia64 include path.  Try ficl/ia64
instead.
@
text
@d27 3
a29 1
#XXX need a better way to do this
a30 5
.if !exists(${LIBSTAND})
LIBSTAND=       ${.OBJDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND=       -lstand
.endif
a49 1
CFLAGS+= -ffreestanding
a72 4
# Other fragments still to be brought in from ../Makfile.booters?
start.o: ${.CURDIR}/../libefi/arch/${MACHINE_ARCH}/start.S
	${CC} -c ${CFLAGS} ${.IMPSRC}

d76 1
a76 1
${PROG}: ${OBJS} ${LIBFICL} ${LIBSKI} vers.o
@


1.5
log
@Fix the beforeinstall target. We install ${PROG}.help if loader.help
exists, otherwise we install it anyway. I interpret this as a very
high desire to install ${PROG}.help. Alas, ${PROG}.help doesn't exist
at the moment and neither does loader.help, so in practice this just
doesn't work, no matter how you interpret it. The compromise is to
install ${PROG}.help IFF it exists. I realize we lost creativity with
this commit, but style should have been preserved, AFAICT :-)
@
text
@d14 1
a14 1
CFLAGS+=	-I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/alpha
@


1.4
log
@Duplicate the logic used elsewhere to define LIBSTAND.
@
text
@d72 1
a72 1
.if exists(${.OBJDIR}/loader.help)
a74 3
.else
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.CURDIR}/${PROG}.help ${DESTDIR}/boot
@


1.3
log
@Add -ffreestanding to avoid printf/puts/putchar conversions
@
text
@d26 10
a35 1
LIBSTAND=	-lstand
d87 1
a87 1
${PROG}: ${OBJS} ${LIBFICL} ${LIBSTAND} ${LIBSKI} vers.o
@


1.2
log
@Make this 'make obj' safe
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/ia64/skiload/Makefile,v 1.1 2001/09/12 08:34:27 dfr Exp $
d44 1
@


1.1
log
@Add a version of the loader which runs under SKI, the HP ia64 simulator.
This loader is quite functional and can load and run kernels. The kernels
don't quite work right after loading but that should be easily fixable.
@
text
@d1 1
a1 1
# $FreeBSD$
d27 3
d31 1
d45 1
a45 1
LDFLAGS=	-nostdlib -T ldscript.ia64
@

