Fix post build

This commit is contained in:
jbnadal
2018-04-03 15:09:38 +02:00
parent d8b5d21001
commit 0d7b381b39
3 changed files with 75 additions and 85 deletions

View File

@@ -32,12 +32,12 @@ done
fi
# Copy the overlay of the target.
if [ -d ${PROJECT}/ovl ]; then
if [ -d ${BR_PROJECT}/ovl ]; then
mkdir -p ${BR_STAGING}/buildroot/target/usr/local/
cp -a ${BR_PROJECT}/ovl/* ${BR_STAGING}/buildroot/target/
fi
# Finaly apply post build script of the target if the script exist.
if [ -e ${PROJECT}/post-build.sh ]; then
${PROJECT}/post-build.sh
if [ -e ${BR_PROJECT}/post-build.sh ]; then
${BR_PROJECT}/post-build.sh
fi