mirror of https://github.com/rusefi/rusefi.git
only:Build Custom Board Firmware
This commit is contained in:
parent
7d55853247
commit
207db42df2
|
@ -16,7 +16,13 @@ echo "! SIGNATURE_HASH is a built-in variable generated by config_definition.jar
|
||||||
|
|
||||||
# read the current git branch name
|
# read the current git branch name
|
||||||
branchname=`git branch --show-current`
|
branchname=`git branch --show-current`
|
||||||
echo "! Current branch is: $branchname" >> ${SIGNATURE_FILE_NAME}
|
if [ "${branchname}" = "" ]; then
|
||||||
|
# custom board, empty value while executed within submodule
|
||||||
|
branchname="default"
|
||||||
|
echo "! Using default branch $branchname" >> ${SIGNATURE_FILE_NAME}
|
||||||
|
else
|
||||||
|
echo "! Current branch is: $branchname" >> ${SIGNATURE_FILE_NAME}
|
||||||
|
fi
|
||||||
|
|
||||||
echo "#define TS_SIGNATURE \"rusEFI $branchname.$date.${SHORT_BOARDNAME}.@@SIGNATURE_HASH@@\"" >> ${SIGNATURE_FILE_NAME}
|
echo "#define TS_SIGNATURE \"rusEFI $branchname.$date.${SHORT_BOARDNAME}.@@SIGNATURE_HASH@@\"" >> ${SIGNATURE_FILE_NAME}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ if [ ! "$2" ] || [ ! "$3" ] || [ ! "$4" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pwd
|
pwd
|
||||||
echo -e "\nUploading .ini files"
|
echo -e "\nUploading all .ini files"
|
||||||
ls -l .
|
ls -l .
|
||||||
|
|
||||||
if [ "$fileName" == "no" ]; then
|
if [ "$fileName" == "no" ]; then
|
||||||
|
|
Loading…
Reference in New Issue