Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 13:17:14 -0600
From:      Warner Losh <imp@village.org>
To:        wwoods@cybcon.com
Cc:        current@FreeBSD.ORG
Subject:   Re: Latest 3.0 -snap 
Message-ID:  <199807291917.NAA10036@harmony.village.org>
In-Reply-To: Your message of "Tue, 28 Jul 1998 21:48:57 PDT." <XFMail.980728214857.wwoods@cybcon.com> 
References:  <XFMail.980728214857.wwoods@cybcon.com>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.980728214857.wwoods@cybcon.com> William Woods writes:
: Whats with this.......
: 
: /usr/src/Makefile" , Line 369: Malformed conditional ($(MACHINE_ARCH0 == "i386")

It means that you are using the old sys.mk files to build the tree.

If you have not already done so, please apply the following patch and
see if that solves your problem w/o introducing new ones.  make
buildworld is what you'll want to do.  I think this will return the
new -current to a buildable state from 2.0.x forward, but have no
systems to test that out on...

Warner

P.S.  Yes, I know that there is some extra nits in this patch (white
space differences and the like).  I'll clean it up before hitting the
tree with it.

P.P.S.  I've been building world past the point where things
traditionally barf on a old system (but this build is on a new
system).

Index: Makefile
===================================================================
RCS file: /home/imp/FreeBSD/CVS/src/Makefile,v
retrieving revision 1.205
diff -u -r1.205 Makefile
--- Makefile	1998/07/07 09:59:48	1.205
+++ Makefile	1998/07/29 18:37:26
@@ -39,9 +39,11 @@
 #		obj depend all install clean cleandepend cleanobj
 
 .if (!make(world)) && (!make(buildworld)) && (!make(installworld))
-.MAKEFLAGS:=	-m ${.CURDIR}/share/mk ${.MAKEFLAGS}
+.MAKEFLAGS:=   -m ${.CURDIR}/share/mk ${.MAKEFLAGS}
 .endif
 
+MACHINE_ARC?=${MACHINE}
+
 # Put initial settings here.
 SUBDIR=
 
@@ -220,7 +222,7 @@
 MAKETMP=	${WORLDTMP}/make
 IBMAKE=	${BMAKEENV} MAKEOBJDIR=${MAKETMP} ${MAKE} DESTDIR=${WORLDTMP}
 # bootstrap make
-BMAKE=	${BMAKEENV} ${WORLDTMP}/usr/bin/make DESTDIR=${WORLDTMP}
+BMAKE=	${BMAKEENV} ${WORLDTMP}/usr/bin/make -m ${.CURDIR}/share/mk DESTDIR=${WORLDTMP}
 # cross make used for compilation
 XMAKE=	${XMAKEENV} ${WORLDTMP}/usr/bin/make DESTDIR=${WORLDTMP}
 # cross make used for final installation

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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