>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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to