Lines Matching +full:hfs +full:- +full:boot +full:. +full:bz2
1 .include <bsd.init.mk>
3 PROG= boot1.elf
4 NEWVERSWHAT= "Open Firmware boot block" ${MACHINE_ARCH}
5 INSTALLFLAGS= -b
7 FILES= boot1.hfs
8 SRCS= boot1.c ashldi3.c syncicache.c memset.c
10 CFLAGS+=-I${LDRSRC}
11 # Load boot1.elf below kernel.
14 # memory until the kernel MMU code has taken over.
18 # even if the entire partition gets used as the load size by a buggy OFW.
21 # boot1.elf defined in the HFS template, but sometimes boot1.elf is written
22 # directly to the PReP partition.
24 LDFLAGS=-nostdlib -static -Wl,-N -Wl,-Ttext=0x38000
26 .PATH: ${SYSDIR}/libkern ${SRCTOP}/lib/libc/powerpc/gen ${.CURDIR}
28 # The following inserts out objects into a template HFS
29 # created by generate-hfs.sh
31 .include "${.CURDIR}/Makefile.hfs"
33 boot1.hfs: boot1.elf bootinfo.txt
34 echo ${.OBJDIR}
35 uudecode ${.CURDIR}/hfs.tmpl.bz2.uu
36 mv hfs.tmpl.bz2 ${.TARGET}.bz2
37 bzip2 -f -d ${.TARGET}.bz2
38 ${DD} if=boot1.elf of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc
39 ${DD} if=${.CURDIR}/bootinfo.txt of=${.TARGET} seek=${BOOTINFO_OFFSET} \
42 CLEANFILES+= boot1.hfs
46 .include <bsd.prog.mk>