>> Does it make a difference if you set
>> NETBSDSRCDIR=/home/abcxyz/netbsd-9.1/usr/src when you run make?
> Yes, that appears to make the symptom go away.
Also, I can reproduce the problem by setting
NETBSDSRCDIR=/infibulated/gonkulator when running make depend even with
a source tree in
> Date: Wed, 8 Mar 2023 08:58:47 -0500 (EST)
> From: Mouse
>
> Ugh, I hate using build.sh for small things like individual kernels.
> It always (well, far too often, at least) insists on rebuilding make,
> which takes significant time on some machines, like my shark, and
> requires extra
Omnibus reply here. Thank you, everyone; I have a better understanding
of the actual problem (admittedly that's a low bar, given how little I
understood it before) and two different workarounds.
[Brian Buhrow]
> hello. I regularly build kernels outside of the /usr/src location.
But does
On Wed, Mar 08, 2023 at 15:22:11 +1100, matthew green wrote:
> > This completed apparently normally, reporting the build directory and
> > telling me to remember to make depend. I then went to ~/kbuild/GEN91
> > and ran make depend && make. It failed fast - no more than a second or
> > two -
> This completed apparently normally, reporting the build directory and
> telling me to remember to make depend. I then went to ~/kbuild/GEN91
> and ran make depend && make. It failed fast - no more than a second or
> two - with
>
> make[1]: don't know how to make absvdi2.c. Stop
what happens
You should build the kernel using build.sh, with the tools and all from
there.
./build.sh kernel=foobar
Don't try to make things complicated by doing all that stuff by hand. :-)
Johnny
On 2023-03-08 00:32, Mouse wrote:
Okay, I'm trying to help someone with a NetBSD 9.1 machine at work.
> Date: Tue, 7 Mar 2023 18:32:46 -0500 (EST)
> From: Mouse
>
> This completed apparently normally, reporting the build directory and
> telling me to remember to make depend. I then went to ~/kbuild/GEN91
> and ran make depend && make. It failed fast - no more than a second or
> two - with
>
>
hello. I regularly build kernels outside of the /usr/src location. My
technique is to
install the source in some location: /usr/local/netbsd/src-91, for example,
then put my
configuration file in: /usr/local/netbsd/src-91/sys/arch//conf/
Then
cd /usr/local/netbsd/src-91/sys/arch//conf