NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/45396: make clean fails in src/lib/libarch for mips build



The following reply was made to PR toolchain/45396; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: toolchain/45396: make clean fails in src/lib/libarch for mips build
Date: Sun, 25 Sep 2011 07:19:33 +0900

 >  Please try this patch, which will print the value of ${CLEANFILES}.  I
 >  guess that it contains a space instead of being empty, and I guess that
 >  can happen if you do this:
 >  
 >  EMPTY =
 >  CLEANFILES = ${EMPTY}
 >  CLEANFILES += ${EMPTY}
 
 src/lib/libarch/Makefile has the following lines
 so it could have some spaces:
 ---
 ARCHDIRS= alpha arm i386 m68k sparc x86_64
 
 .for arch in ${ARCHDIRS}
 .include "${.CURDIR}/${arch}/Makefile.inc"
 .PATH: ${.CURDIR}/${arch}
 .endfor
 
 OBJS+= ${ASM}
 POBJS+=        ${ASM:.o=.po}
 CLEANFILES+= ${ASM} ${POBJS}
 ---
 
 and bsd.clean.mk rev 1.3 fixes the problem. Thanks.
 
 ---
 % ../../obj.pmax/tooldir.NetBSD-5.99.55-i386/bin/nbmake-pmax clean
 % ../../obj.pmax/tooldir.NetBSD-5.99.55-i386/bin/nbmake-pmax cleandir
 (cd /r/work/src/lib/libarch && rm -f arm_sync_icache.cat2 
arm_drain_writebuf.cat2 i386_get_ldt.cat2 i386_get_mtrr.cat2 i386_iopl.cat2 
i386_pmc_info.cat2 i386_vm86.cat2 m68k_sync_icache.cat2 x86_64_get_mtrr.cat2 
x86_64_iopl.cat2 arm_sync_icache.html2 arm_drain_writebuf.html2 
i386_get_ldt.html2 i386_get_mtrr.html2 i386_iopl.html2 i386_pmc_info.html2 
i386_vm86.html2 m68k_sync_icache.html2 x86_64_get_mtrr.html2 x86_64_iopl.html2 
|| true) 
 % 
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index