Remove all object files during 'make clean'.

MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2011-04-21 14:17:36 +00:00
parent 5bd8adc750
commit 9c3523e7c5
2 changed files with 4 additions and 2 deletions

View File

@ -63,7 +63,8 @@ gptldr.bin: gptldr.out
gptldr.out: gptldr.o
${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} gptldr.o
CLEANFILES+= gptzfsboot.bin gptzfsboot.out zfsboot.o sio.o
CLEANFILES+= gptzfsboot.bin gptzfsboot.out zfsboot.o sio.o cons.o \
drv.o gpt.o util.o
gptzfsboot.bin: gptzfsboot.out
objcopy -S -O binary gptzfsboot.out ${.TARGET}

View File

@ -64,7 +64,8 @@ zfsldr.out: zfsldr.o
${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} zfsldr.o
CLEANFILES+= zfsboot2 zfsboot.ld zfsboot.ldr zfsboot.bin zfsboot.out \
zfsboot.o zfsboot.s zfsboot.s.tmp xreadorg.h sio.o
zfsboot.o zfsboot.s zfsboot.s.tmp xreadorg.h sio.o cons.o \
drv.o util.o
# We currently allow 65536 bytes for zfsboot - in practice it could be
# any size up to 3.5Mb but keeping it fixed size simplifies zfsldr.