cvs commit: src Makefile.inc1

M. Warner Losh imp at bsdimp.com
Wed Jun 16 22:19:26 PDT 2004


In message: <20040617045817.GA86953 at relay.nvnpp.vrn.ru>
            Gennady Proskurin <gpr at 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


More information about the cvs-src mailing list