|
@@ -180,27 +180,27 @@ for target in ${TARGETS} ; do
|
|
|
# prepare build environment for our current target
|
|
|
progress "Preparing build environment for target ${target}."
|
|
|
[ "${DIRCLEAN}" -eq "0" ] && make clean
|
|
|
- make -j ${MAKEJOBS} prepare-target${MAKE_PARAM}
|
|
|
+ make -j ${MAKEJOBS} prepare-target ${MAKE_PARAM}
|
|
|
[ "$?" -eq "0" ] || abort "Unable to build environment for target-platform ${target}."
|
|
|
|
|
|
# need to have a toolchain for the particular target
|
|
|
progress "Building toolchain for target ${target}."
|
|
|
- make -j ${MAKEJOBS} toolchain/install${MAKE_PARAM}
|
|
|
+ make -j ${MAKEJOBS} toolchain/install ${MAKE_PARAM}
|
|
|
[ "$?" -eq "0" ] || abort "Unable to build toolchain for target-platform ${target}."
|
|
|
|
|
|
# now we can start building the images for the target platform
|
|
|
progress "Building FFHO-flavoured Gluon firmware for target ${target}. You'd better go and fetch some c0ffee!"
|
|
|
- eval "${gluon_build_env_vars} faketime \"${BUILD_TS}\" make -j ${MAKEJOBS} prepare${MAKE_PARAM}"
|
|
|
+ eval "${gluon_build_env_vars} make -j ${MAKEJOBS} prepare ${MAKE_PARAM}"
|
|
|
[ "$?" -eq "0" ] || abort "Failed to build firmware for target-platform ${target}."
|
|
|
|
|
|
# finally compile the firmware binaries
|
|
|
progress "Compiling binary firmware images."
|
|
|
- faketime "${BUILD_TS}" make -j ${MAKEJOBS} images${MAKE_PARAM}
|
|
|
+ make -j ${MAKEJOBS} images ${MAKE_PARAM}
|
|
|
[ "$?" -eq "0" ] || abort "Failed to assemble images for target-platform ${target}."
|
|
|
|
|
|
# compile the modules
|
|
|
progress "Compiling modules."
|
|
|
- eval "${gluon_build_env_vars} faketime \"${BUILD_TS}\" make -j ${MAKEJOBS} modules${MAKE_PARAM}"
|
|
|
+ eval "${gluon_build_env_vars} make -j ${MAKEJOBS} modules ${MAKE_PARAM}"
|
|
|
[ "$?" -eq "0" ] || abort "Failed to build modules for target-platform ${target}."
|
|
|
done
|
|
|
|
|
@@ -225,7 +225,7 @@ popd > /dev/null #${MODULE_DIR}
|
|
|
# generate and copy manifests
|
|
|
progress "Generating and copying manifest ..."
|
|
|
pushd ${CODE_DIR} > /dev/null
|
|
|
-GLUON_PRIORITY=${PRIORITY} GLUON_BRANCH=${BRANCH} faketime "${BUILD_TS}" make manifest
|
|
|
+GLUON_PRIORITY=${PRIORITY} GLUON_BRANCH=${BRANCH} make manifest
|
|
|
[ "$?" -eq "0" ] || abort "Failed to generate the manifest, try running 'make manifest' in '$CODE_DIR' directory manually."
|
|
|
cp "${CODE_DIR}/output/images/sysupgrade/${BRANCH}.manifest" "${OUTPUT_DIR}/${BRANCH}/"
|
|
|
popd > /dev/null #${CODE_DIR}
|