Files
domo/projects/x86_64_domo/post-build.sh
jbnadal 5fc3e0c439 Fix Compilation for host cmake tools.
and fix compilation of x86_64 target.
2017-03-20 16:02:15 +01:00

22 lines
402 B
Bash
Executable File

#!/bin/bash
# Catch Postbuild Error
function error {
echo "Postbuild Failed."
exit 1;
}
set -e
trap error ERR
echo "==> POSTBUILD:"
echo "BR_STAGING: ${BR_STAGING}"
echo "BR_PROJECT: ${BR_PROJECT}"
ROOT_DIR=${BR_STAGING}/buildroot/target
echo " => Setting-up the target rootfs to be used by qemu"
PATH="${PATH}:${BR_STAGING}/cross/usr/bin" "${BR_PROJECT}/map-all-xattr.sh" "${ROOT_DIR}"