Subject: Re: 2.0-branch: athhal-elf.o: No such file or directory
To: None <hubert@feyrer.de>
From: Havard Eidnes <he@netbsd.org>
List: current-users
Date: 04/15/2004 14:54:59
> Trying to do a release on the 2.0 branch I get (during kernel build):=

>
> 	...
> 	#      link  GENERIC/netbsd
> 	/home/cvs/src-2.0/tooldir.NetBSD-2.0_BETA-i386/bin/i386--netbsdelf-l=
d -T
> 	/home/cvs/src-2.0/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -=
e
> 	start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> 	/home/cvs/src-2.0/tooldir.NetBSD-2.0_BETA-i386/bin/i386--netbsdelf-l=
d:
> 	cannot open athhal-elf.o: No such file or directory
>
> Sources are upto-date, I've not used -u. What do I do wrong?

It's nothing wrong in what you did, but I think there's a bug in
sys/arch/i386/conf/Makefile.i386.

I suspect (hope) it is as simple as adding

EXTRA_CLEAN+=3D athal-elf-o

due to the rather cheesy method which is used to pull athal-elf.o
into the build directory, and the timestamp file (athal-elf-o)
not being removed on "make clean".

Regards,

- H=E5vard