mirror of https://github.com/rusefi/rusefi.git
common_make.sh assumes invocation from a sub-directory #5284
This commit is contained in:
parent
08b3f6a74f
commit
41720595a7
|
@ -6,12 +6,9 @@ PROJECT_CPU=$2
|
|||
# fail on error
|
||||
set -e
|
||||
|
||||
SCRIPT_NAME="common_make.sh"
|
||||
SCRIPT_NAME="common_script.sh"
|
||||
echo "Entering $SCRIPT_NAME with board [$1] and CPU [$2]"
|
||||
|
||||
# todo: technical debt: https://github.com/rusefi/rusefi/issues/5284
|
||||
cd ../../..
|
||||
|
||||
mkdir -p .dep
|
||||
# todo: start using env variable for number of threads or for '-r'
|
||||
make -j$(nproc) -r PROJECT_BOARD=$PROJECT_BOARD PROJECT_CPU=$PROJECT_CPU
|
Loading…
Reference in New Issue