head	1.12;
access;
symbols
	RELENG_4_11_0_RELEASE:1.11
	RELENG_4_11:1.11.0.20
	RELENG_4_11_BP:1.11
	RELENG_4_10_0_RELEASE:1.11
	RELENG_4_10:1.11.0.18
	RELENG_4_10_BP:1.11
	RELENG_4_9_0_RELEASE:1.11
	RELENG_4_9:1.11.0.16
	RELENG_4_9_BP:1.11
	RELENG_4_8_0_RELEASE:1.11
	RELENG_4_8:1.11.0.14
	RELENG_4_8_BP:1.11
	RELENG_4_7_0_RELEASE:1.11
	RELENG_4_7:1.11.0.12
	RELENG_4_7_BP:1.11
	RELENG_4_6_2_RELEASE:1.11
	RELENG_4_6_1_RELEASE:1.11
	RELENG_4_6_0_RELEASE:1.11
	RELENG_4_6:1.11.0.10
	RELENG_4_6_BP:1.11
	RELENG_4_5_0_RELEASE:1.11
	RELENG_4_5:1.11.0.8
	RELENG_4_5_BP:1.11
	RELENG_4_4_0_RELEASE:1.11
	RELENG_4_4:1.11.0.6
	RELENG_4_4_BP:1.11
	RELENG_4_3_0_RELEASE:1.11
	RELENG_4_3:1.11.0.4
	RELENG_4_3_BP:1.11
	RELENG_4_2_0_RELEASE:1.11
	RELENG_4_1_1_RELEASE:1.11
	RELENG_4_1_0_RELEASE:1.11
	RELENG_3_5_0_RELEASE:1.10.2.1
	RELENG_4_0_0_RELEASE:1.11
	RELENG_4:1.11.0.2
	RELENG_4_BP:1.11
	RELENG_3_4_0_RELEASE:1.10.2.1
	RELENG_3_3_0_RELEASE:1.10.2.1
	RELENG_3_2_PAO:1.10.0.4
	RELENG_3_2_PAO_BP:1.10
	RELENG_3_2_0_RELEASE:1.10
	POST_VFS_BIO_NFS_PATCH:1.10
	PRE_VFS_BIO_NFS_PATCH:1.10
	POST_SMP_VMSHARE:1.10
	PRE_SMP_VMSHARE:1.10
	POST_NEWBUS:1.10
	PRE_NEWBUS:1.10
	RELENG_3_1_0_RELEASE:1.10
	RELENG_3:1.10.0.2
	RELENG_3_BP:1.10
	RELENG_2_2_8_RELEASE:1.4
	RELENG_3_0_0_RELEASE:1.9
	RELENG_2_2_7_RELEASE:1.4
	PRE_NOBDEV:1.9
	POST_DEVFS_SLICE:1.8
	PRE_DEVFS_SLICE:1.8
	RELENG_2_2_6_RELEASE:1.4
	POST_SOFTUPDATE:1.8
	PRE_SOFTUPDATE:1.8
	RELENG_2_2_5_RELEASE:1.4
	WOLLMAN_MBUF:1.6.0.2
	BP_WOLLMAN_MBUF:1.6
	RELENG_2_2_2_RELEASE:1.4
	post_smp_merge:1.6
	pre_smp_merge:1.6
	RELENG_2_2_1_RELEASE:1.4
	RELENG_2_2_0_RELEASE:1.4
	RELENG_2_1_7_RELEASE:1.2.4.5
	RELENG_2_1_6_1_RELEASE:1.2.4.5
	RELENG_2_1_6_RELEASE:1.2.4.5
	RELENG_2_2:1.4.0.4
	RELENG_2_2_BP:1.4
	RELENG_2_1_5_RELEASE:1.2.4.4
	wollman_polling:1.4.0.2
	RELENG_2_1_0_RELEASE:1.2.4.4
	RELENG_2_1_0:1.2.0.4
	RELENG_2_1_0_BP:1.2
	RELENG_2_0_5_RELEASE:1.2
	RELENG_2_0_5:1.2.0.2
	RELENG_2_0_5_BP:1.2
	RELENG_2_0_5_ALPHA:1.2;
locks; strict;
comment	@# @;


1.12
date	2000.03.19.11.42.21;	author peter;	state dead;
branches;
next	1.11;

1.11
date	99.08.28.00.43.27;	author peter;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	98.12.30.10.37.45;	author bde;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	98.05.27.08.06.33;	author sos;	state Exp;
branches;
next	1.8;

1.8
date	98.03.07.10.48.10;	author eivind;	state Exp;
branches;
next	1.7;

1.7
date	98.02.15.21.38.17;	author eivind;	state Exp;
branches;
next	1.6;

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

1.5
date	97.01.14.06.38.11;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	95.10.06.02.57.22;	author peter;	state Exp;
branches
	1.4.4.1;
next	1.3;

1.3
date	95.08.15.19.36.02;	author joerg;	state Exp;
branches;
next	1.2;

1.2
date	95.05.29.01.38.03;	author phk;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	95.04.15.08.23.31;	author phk;	state Exp;
branches;
next	;

1.11.2.1
date	2012.11.17.07.26.06;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	99.08.29.16.05.12;	author peter;	state Exp;
branches;
next	;

1.4.4.1
date	99.09.05.08.10.45;	author peter;	state Exp;
branches;
next	;

1.2.4.1
date	95.08.23.04.41.23;	author davidg;	state Exp;
branches;
next	1.2.4.2;

1.2.4.2
date	95.10.04.09.24.19;	author jkh;	state Exp;
branches;
next	1.2.4.3;

1.2.4.3
date	95.10.04.10.24.52;	author jkh;	state Exp;
branches;
next	1.2.4.4;

1.2.4.4
date	95.10.06.04.43.25;	author jkh;	state Exp;
branches;
next	1.2.4.5;

1.2.4.5
date	96.11.12.13.44.20;	author jkh;	state Exp;
branches;
next	1.2.4.6;

1.2.4.6
date	99.09.05.08.28.56;	author peter;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Remove the old a.out-only boot loader, we don't use it any more.
The new boot1/boot2 can load a.out and elf kernels directly.
I think the sys/pc98 version can go too as the sys/boot/pc98 code
appears to be functional, but I'll leave that for the pc98 folks.

"There can be only one."
@
text
@# $FreeBSD: src/sys/i386/boot/kzipboot/Makefile,v 1.11 1999/08/28 00:43:27 peter Exp $

PROG= kztail.o kzhead.o
BINMODE = 444	# target is a relocatable object
SRCS= tail.S head.S boot.c unzip.c misc.c malloc.c inflate.c
OBJS_KZHEAD= head.o
OBJS_KZTAIL= tail.o boot.o unzip.o misc.o malloc.o inflate.o
BINDIR= /usr/lib/aout
.PATH:	${.CURDIR}/../../../kern
NOMAN= toobad

# Where to load the kernel
KADDR   = 0x100000

# What segment our code lives in
CSEG    = 0x8

STRIP=	#  very important!! don't let kz*.o be stripped

CFLAGS+= -DKADDR=$(KADDR) -DCSEG=$(CSEG)
CFLAGS+= -DKZIP -DCOMCONSOLE=0x3F8

kztail.o:  ${OBJS_KZTAIL}
	$(LD) -aout -r -x -o kztail.o $(OBJS_KZTAIL)

kzhead.o:  ${OBJS_KZHEAD}
	$(LD) -aout -r -x -o kzhead.o $(OBJS_KZHEAD)

.include <bsd.prog.mk>
@


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


1.11.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/i386/boot/kzipboot/Makefile 50477 1999-08-28 01:08:13Z peter $
@


1.10
log
@Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.9 1998/05/27 08:06:33 sos Exp $
@


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


1.9
log
@Install in /usr/lib/aout
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1998/03/07 10:48:10 eivind Exp $
d24 1
a24 1
	$(LD) -r -x -o kztail.o $(OBJS_KZTAIL)
d27 1
a27 1
	$(LD) -r -x -o kzhead.o $(OBJS_KZHEAD)
@


1.8
log
@Make this handle -j<large>, and avoid .depend pointing at /usr/include.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1998/02/15 21:38:17 eivind Exp $
d8 1
a8 1
BINDIR= /usr/lib
@


1.7
log
@Make bootblock building independent of /usr/include if relative
includes are available.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1997/02/22 09:31:22 peter Exp $
a19 6
.if exists(${.CURDIR}/../../../../include)
CFLAGS+= -nostdinc
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}/../../../
CFLAGS+= -I${.CURDIR}/../../../../include
.endif

a22 2
CLEANFILES=machine

a27 8

pre-compile:
.if !exists(${.OBJDIR}/machine)
	ln -s ${.CURDIR}/../../include ${.OBJDIR}/machine
.endif

all:	pre-compile ${PROG}

@


1.6
log
@Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not
ready for it yet.
@
text
@d1 1
a1 1
# $Id$
d20 6
d29 2
d36 8
@


1.5
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.4
log
@Part 2 of the overlapping kzip changes.

Submitted by:	Gary Jones(?) <gj@@freefall>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1995/08/15 19:36:02 joerg Exp $
@


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


1.3
log
@Install kzip.o with BINMODE=444.

Submitted by:	graichen@@sirius.physik.fu-berlin.de (Thomas Graichen)
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1995/05/29 01:38:03 phk Exp $
d3 1
a3 1
PROG= kzip.o
d5 3
a7 1
SRCS= head.S boot.c unzip.c misc.c malloc.c inflate.c
d18 1
a18 1
STRIP=	#  very important!! don't let kzip.o be stripped
d23 5
a27 2
kzip.o:  ${OBJS}
	$(LD) -r -x -o kzip.o $(OBJS)
@


1.2
log
@Reduce the amount of bss the kzip stuff uses by moving big buffers into
the first Mb of memory.  Makes 4Mb machines more happy.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1995/04/15 08:23:31 phk Exp $
d4 1
@


1.2.4.1
log
@Brought in change from rev 1.3: install with correct permissions.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1995/05/29 01:38:03 phk Exp $
a3 1
BINMODE = 444	# target is a relocatable object
@


1.2.4.2
log
@appended are patches to kzipboot and kzip to allow uncompressing the
gzip'ed kernel image over itself.

I've tested this on a 4 MB machine using a MFSKERNEL provided to me by
Jordan and it worked. It was possible to finally do an install of a SNAP
on the machine.
Submitted by:	Gary Jennejohn <gj%pcs.dec.com@@inet-gw-1.pa.dec.com>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2.4.1 1995/08/23 04:41:23 davidg Exp $
d5 1
a5 4
SRCS= kzhead.S head.S boot.c unzip.c misc.c malloc.c inflate.c

KOBJS= head.o boot.o unzip.o misc.o malloc.o inflate.o

d21 2
a22 6
beforeinstall:
	install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/obj/kzhead.o ${DESTDIR}${BINDIR}/kzhead.o

kzip.o:  ${KOBJS}
	$(LD) -r -x -o kzip.o $(KOBJS)
@


1.2.4.3
log
@Back out this attempt.  I was too hasty.  We'll revisit this
later, after more correspondence.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2.4.2 1995/10/04 09:24:19 jkh Exp $
d5 4
a8 1
SRCS= head.S boot.c unzip.c misc.c malloc.c inflate.c
d24 6
a29 2
kzip.o:  ${OBJS}
	$(LD) -r -x -o kzip.o $(OBJS)
@


1.2.4.4
log
@Bring in changes from the HEAD
Submitted by:	Gary Jennejohn <gj@@freebsd.org>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1995/10/06 02:57:22 peter Exp $
d3 1
a3 1
PROG= kztail.o kzhead.o
d5 1
a5 3
SRCS= tail.S head.S boot.c unzip.c misc.c malloc.c inflate.c
OBJS_KZHEAD= head.o
OBJS_KZTAIL= tail.o boot.o unzip.o misc.o malloc.o inflate.o
d16 1
a16 1
STRIP=	#  very important!! don't let kz*.o be stripped
d21 2
a22 5
kztail.o:  ${OBJS_KZTAIL}
	$(LD) -r -x -o kztail.o $(OBJS_KZTAIL)

kzhead.o:  ${OBJS_KZHEAD}
	$(LD) -r -x -o kzhead.o $(OBJS_KZHEAD)
@


1.2.4.5
log
@Continue my work merging the unmerged.
@
text
@@


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


1.1
log
@The magic code to uncompress a kernel.

Reviewed by:	phk
Obtained from:	Linux via 386BSD.
@
text
@d1 1
a1 1
# $Id$
d18 1
a18 1
CFLAGS+= -DUSE_KERNEL_INFLATE -DKZIP -DCOMCONSOLE=0x3F8
@
