Subject: Re: Another build failure - "unexpected operator" in maketars
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 02/05/2007 10:33:26
On Sun, 04 Feb 2007, Charlie Root wrote:
> The routine arch_to_cpu in sets.subr finds a value for $MACHINE_CPU by 
> doing:
> 
> 	MACHINE_ARCH=${1} ${MAKE} -f- all <<EOMAKE
> 	.include <bsd.own.mk>
> 	all:
> 		@echo \${MACHINE_CPU}
> 	EOMAKE
> 
> Unfortunately when running make with -j3, [...]

How did "-j3" find its way into the value of ${MAKE}?  (How did you
invoke build.sh and/or nmbake-foo?)

Anyway, try inserting "-j1" between "${MAKE}" and "-f-".

--apb (Alan Barrett)