freebsd-dev/sys/boot/i386/btx/btxldr/Makefile
Mike Smith 0d5d0b20dc Resynch with working sources before BTX integration.
- Use format-independant module allocator.
 - Conditionalise ISA PnP support.
 - Simplify PnP enumerator interface.
 - Improve module/object searching.
 - Add missing depend/install targets in BTX makefiles.
 - Pass the kernel environment and module data in extended bootinfo fields.
 - Add a pointer to the end of the kernel + modules in bootinfo.
 - Fix parsing of old-style kernel arguments.
1998-09-14 18:27:06 +00:00

26 lines
481 B
Makefile

# $Id: Makefile,v 1.1 1998/09/12 06:30:26 rnordier Exp $
ORG=0x100000
all: btxldr
btxldr: btxldr.o
.if ${OBJFORMAT} == aout
${LD} -nostdlib -N -s -T ${ORG} -o btxldr.out btxldr.o
dd if=btxldr.out of=${.TARGET} ibs=32 skip=1
.else
${LD} -N -e start -Ttext ${ORG} -o btxldr.out btxldr.o
/usr/libexec/elf/objcopy -S -O binary btxldr.out ${.TARGET}
.endif
btxldr.o: btxldr.s
${AS} ${AFLAGS} -o ${.TARGET} btxldr.s
clean:
rm -f btxldr btxldr.out btxldr.o
depend:
install: