Setting it afterwards for further builds will cause the build logic to
detect a change and thus force a rebuild of all sources.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Bjoern Doebel <doebel@amazon.de>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
cd "${SRCDIR}" || die
# Capture .o files from the patched build
- export CROSS_COMPILE="${TOOLSDIR}/livepatch-gcc "
export LIVEPATCH_BUILD_DIR="$(pwd)/"
export LIVEPATCH_CAPTURE_DIR="$OUTPUT/${name}"
mkdir -p "$LIVEPATCH_CAPTURE_DIR"
XEN_DEBUG="debug=$XEN_DEBUG"
fi
+ export CROSS_COMPILE="${TOOLSDIR}/livepatch-gcc "
+
echo "Perform full initial build with ${CPUS} CPU(s)..."
build_full