mirror of
https://github.com/muccc/WomoLIN.git
synced 2026-02-20 02:21:18 +01:00
firmware/helper/build.sh creates binaries now outside of repo within directory build_womolin parallel to WomoLIN
This commit is contained in:
@@ -17,7 +17,7 @@ CMAKE_TOOLCHAIN_FILE_SIMULATION="${CMAKE_TOOLCHAIN_FILES_ROOT}/target.simulation
|
||||
CMAKE_TOOLCHAIN_FILE_MAINUNIT="${CMAKE_TOOLCHAIN_FILES_ROOT}/target.mainunit"
|
||||
|
||||
#build stuff
|
||||
BUILD_ROOT="${SOFTWARE_ROOT}/build"
|
||||
BUILD_ROOT="${BASEDIR}/../../../../build_womolin" # out of repo build
|
||||
BUILD_SIMULATION_ROOT="${BUILD_ROOT}/simulation"
|
||||
BUILD_MAINUNIT_ROOT="${BUILD_ROOT}/mainunit"
|
||||
DEBUG="debug"
|
||||
|
||||
@@ -8,4 +8,4 @@ else
|
||||
BASEDIR=${PWD}/`dirname "${0}"`
|
||||
fi
|
||||
|
||||
rm -fr ${BASEDIR}/../../build
|
||||
rm -fr ${BASEDIR}/../../../../build_womolin
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
cp $1/$3 $2/$3
|
||||
|
||||
cd $1
|
||||
|
||||
if [[ `git status --short` || `git diff origin/master` ]]; then
|
||||
GIT_HASH="NO_HASH"
|
||||
RELEASE="LOCAL"
|
||||
|
||||
Reference in New Issue
Block a user