From 42a3a1e2cb24247e717d09c2abf06d2df5efb6df Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 24 Jan 2016 19:57:05 +0100 Subject: [PATCH 248/257] reproduce.sh: Build kernel after world to make sure the toolchain is fresh Obtained from: ElectroBSD --- reproduce.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reproduce.sh b/reproduce.sh index 31be55b7ba04..4783dd510775 100755 --- a/reproduce.sh +++ b/reproduce.sh @@ -71,12 +71,14 @@ reproduce_all_the_things() { export MAKEOBJDIRPREFIX announce_status "MAKEOBJDIRPREFIX is set to ${MAKEOBJDIRPREFIX}" - announce_status "Starting to build the kernel" - make buildkernel || return 1 - + # We build the world first, so the kernel is built + # with a freshly built toolchain. announce_status "Starting to build the world" make -j${MAX_MAKE_JOBS} buildworld || return 1 + announce_status "Starting to build the kernel" + make buildkernel || return 1 + # Make sure obj files aren't dumped in ${SRC_DIR} mkdir -p "${MAKEOBJDIRPREFIX}${SRC_DIR}/release" || return 1 -- 2.11.0