Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 13:21:56 -0600
From:      "Justin Honold" <jhonold@bigfoot.com>
To:        <freebsd-questions@freebsd.org>
Subject:   a few simple make world questions
Message-ID:  <ELELJNAHGHJPJIKCOHAPCEACCDAA.jhonold@bigfoot.com>

next in thread | raw e-mail | index | archive | help
when one enters multiple make targets ('make update buildworld'), does it
only proceed with the second target if the first one was successful ('make
update && make buildworld')?

does 'make all' exist only for the passing of multiple targets ('make all
install' versus 'make && make install')?

is it at all necessary to 'make clean' or 'make depend' from /usr/src before
beginning a world build?

should i still remove the compile directory for my kernel before doing a
kernel build when using the preferred method?

does 'make world' imply 'make buildworld && make installworld', or will it
proceed with the installation even if the compile had errors?

is there a build/make in one target for the preferred kernel build method
('make kernel KERNEL=KERNEL_NAME' versus 'make buildkernel
KERNEL=KERNEL_NAME && make installkernel KERNEL=KERNEL_NAME')?

would it ever be desirable to 'make all install' the entire /usr/src/release
section?  when i attempt to build the entire structure, it says "warning:
object directory not changed from original /usr/src/release" and does
nothing.  i get the same warning when manually building sysinstall, but it
actually compiles and installs fine.

presently i use 2 scripts for the updating process; 1 for building, 1 for
installing.  here they are:

#!/bin/sh
chflags -R noschg /usr/obj/* && rm -rf /usr/obj/*
cd /usr/src && make clean && make update && make -j4 buildworld
make buildkernel KERNEL=DEMON
cd release/sysinstall && make

#!/bin/sh
cd /usr/src && make installworld
make installkernel KERNEL=DEMON
cd release/sysinstall && make install
mergemaster



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




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