modifed for correct make target
This commit is contained in:
parent
90729c2ff7
commit
d4a0d09dd6
1 changed files with 4 additions and 4 deletions
8
otto.sh
8
otto.sh
|
@ -28,9 +28,9 @@ format_source_code () {
|
|||
|
||||
add_compile_commands () {
|
||||
if [ -f ./compile_commands.json ]; then
|
||||
echo "compile_commands.json already exists!\n"
|
||||
echo "compile_commands.json already exists!"
|
||||
else
|
||||
echo "Creating new symlink for compile commands!\n"
|
||||
echo "Creating new symlink for compile commands!"
|
||||
ln -s ./build/compile_commands.json ./compile_commands.json
|
||||
fi
|
||||
}
|
||||
|
@ -247,8 +247,8 @@ build_hex () {
|
|||
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${WCH_TC}"
|
||||
|
||||
cmake ${CMAKE_ARGS} ../
|
||||
make all
|
||||
make hex
|
||||
make main
|
||||
#make hex
|
||||
}
|
||||
|
||||
build_hex_optimized () {
|
||||
|
|
Loading…
Add table
Reference in a new issue