Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2000 14:28:35 -0400
From:      "John R. LoVerso" <john@loverso.southborough.ma.us>
To:        freebsd-stable@freebsd.org
Cc:        Brandon Fosdick <bfoz@glue.umd.edu>
Subject:   buildkernel without buildworld  (Re: agp_if.c)
Message-ID:  <200010041828.OAA39982@h201.infolibria.com>

next in thread | raw e-mail | index | archive | help
> Are there any plans for returning to a system where we don't need to do a
> buildworld just to make a new kernel? This is really really really getting

I'm sure I'll be told of the errors of my ways, but here are two changes I
use on a 4-STABLE source base.

The sys/conf/Makefile.i386 change was originally there to catch
when I'd done a "make buildkernel" without the "make buildworld",
as it preventing the make from continuing after genassym crapped
out and left a useless assym.s.  This would be useful to have in
the tree.

The change to Makefile.inc1 simply arranges for "make buildkernel" to fall
back to the installed toolchain when a "make buildworld" hasn't been done.
Thus, the latter is no longer a requirement for the former.  For someone not
wanting to buildworld, this is good;  however, this would be a disaster if
someone required a successful build of the toolchain before building anything
else.

John


*** Makefile.inc1.orig	Wed Oct  4 10:44:52 2000
--- Makefile.inc1	Tue Oct  3 13:27:39 2000
***************
*** 169,171 ****
  		LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib \
! 		OBJFORMAT_PATH=${WORLDTMP}/usr/libexec \
  		PERL5LIB=${WORLDTMP}/usr/libdata/perl/5.00503
--- 169,171 ----
  		LIBRARY_PATH=${WORLDTMP}${SHLIBDIR}:${WORLDTMP}/usr/lib \
! 		OBJFORMAT_PATH=${WORLDTMP}/usr/libexec:/usr/libexec \
  		PERL5LIB=${WORLDTMP}/usr/libdata/perl/5.00503

*** sys/conf/Makefile.i386.orig	Thu Jul  6 20:29:27 2000
--- sys/conf/Makefile.i386	Tue Oct  3 13:31:03 2000
***************
*** 172,173 ****
--- 172,174 ----
  	sh $S/kern/genassym.sh genassym.o > ${.TARGET}
+ 	if test -f assym.s -a ! -s assym.s ; then rm -f assym.s ; exit 1; fi
  


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




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