Date: Sat, 19 Feb 2011 13:47:12 GMT From: Alexander Best <arundel@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/154888: [patch] gpart(8): sys/boot/i386/gptboot/ leaves behind several *.o files Message-ID: <201102191347.p1JDlCZm013834@red.freebsd.org> Resent-Message-ID: <201102191350.p1JDo9Ga096948@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 154888 >Category: kern >Synopsis: [patch] gpart(8): sys/boot/i386/gptboot/ leaves behind several *.o files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 13:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r218710=b1b7068-dirty: Wed Feb 16 15:00:20 CET 2011 arundel@otaku:/usr/obj/usr/git-freebsd-head/sys/ARUNDEL amd64 >Description: after building world and cleaning up the whole source tree i realised, some *.o files are being left behind in sys/boot/i386/gptboot and not cleaned up by neither TARGET=clean, nor TARGET=cleandir. the following patch should fix that. cheers. alex >How-To-Repeat: cd /usr/src && make buildworld && make clean clean cleandir cleandir && svn status . --no-ignore >Fix: Patch attached with submission follows: diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index 452b100..d42cf54 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -60,7 +60,8 @@ gptldr.bin: gptldr.out gptldr.out: gptldr.o ${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} gptldr.o -CLEANFILES+= gptboot.bin gptboot.out gptboot.o sio.o ufsread.o +CLEANFILES+= cons.o crc32.o drv.o gpt.o gptboot.bin gptboot.out \ + gptboot.o sio.o ufsread.o util.o gptboot.bin: gptboot.out objcopy -S -O binary gptboot.out ${.TARGET} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102191347.p1JDlCZm013834>