Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 23:16:25 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        gpr@nvnpp.vrn.ru
Cc:        obrien@FreeBSD.org
Subject:   Re: cvs commit: src Makefile.inc1
Message-ID:  <20040616.231625.130865452.imp@bsdimp.com>
In-Reply-To: <20040617045817.GA86953@relay.nvnpp.vrn.ru>
References:  <200406170259.i5H2xsfB027794@repoman.freebsd.org> <20040617045817.GA86953@relay.nvnpp.vrn.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20040617045817.GA86953@relay.nvnpp.vrn.ru>
            Gennady Proskurin <gpr@nvnpp.vrn.ru> writes:
: Hello, David.
: 
: On Thu, Jun 17, 2004 at 02:59:54AM +0000, David E. O'Brien wrote:
: 
: > obrien      2004-06-17 02:59:54 UTC
: > 
: >   FreeBSD src repository
: > 
: >   Modified files:
: >     .                    Makefile.inc1 
: >   Log:
: >   Fall out from Binutils 2.15: disable building the Alpha loader.
: >   
: >   Revision  Changes    Path
: >   1.428     +4 -1      src/Makefile.inc1
: 
: This breaks native buildworld for all platforms, because TARGET_ARCH is
: not defined in changed place.
: 
: ===
: % make buildworld 
: "/usr/src/Makefile.inc1", line 65: Malformed conditional (${TARGET_ARCH} == "alpha")
: "/usr/src/Makefile.inc1", line 65: Need an operator
: "/usr/src/Makefile.inc1", line 67: if-less endif
: "/usr/src/Makefile.inc1", line 67: Need an operator
: make: fatal errors encountered -- cannot continue
: *** Error code 1
: 
: Stop in /usr/src.
: Exit 1
: ===
: 
: make buildworld TARGET_ARCH=`uname -m`
: works fine.

I think it should really be MACHINE_ARCH instead...  TARGET_ARCH is
only defined in Makefile, but not Makefile.inc1.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040616.231625.130865452.imp>