[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-bugs
Subject:    Re: toolchain/45396: make clean fails in src/lib/libarch for mips build
From:       Izumi Tsutsui <tsutsui () ceres ! dti ! ne ! jp>
Date:       2011-09-24 22:20:04
Message-ID: 20110924222004.1B81063B883 () www ! NetBSD ! org
[Download RAW message or body]

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

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
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
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic