Skip to content

Commit

Permalink
If at first we don't succeed, something something something.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Mar 4, 2024
1 parent 33e6816 commit a0c28f6
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aarch64linux-aarch64linux-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ source "${script_dir}/common.bashinc"

build_one_help "$@"

extra_args="--static-toolchain"

build_one \
--sample-name=aarch64-rpi3-linux-gnu \
--canadian-host=aarch64-unknown-linux-gnu \
--vendor-name=unknown \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
5 changes: 5 additions & 0 deletions aarch64linux-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ source "${script_dir}/common.bashinc"

build_one_help "$@"

if [[ "$(fn_os)" == "linux" ]]; then
extra_args="--static-toolchain"
fi

build_one \
--sample-name=aarch64-rpi3-linux-gnu \
--vendor-name=unknown \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
1 change: 1 addition & 0 deletions arm-aarch64linux-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build_one \
--sample-name=arm-none-eabi \
--multilib-list=rmprofile \
--libc=newlib \
--binutils-plugins \
--extra-newlib-nano \
--no-cross-gdb-python \
${extra_args:-} \
Expand Down
1 change: 1 addition & 0 deletions arm-win64-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ build_one \
--sample-name=arm-none-eabi \
--multilib-list=rmprofile \
--libc=newlib \
--binutils-plugins \
--extra-newlib-nano \
--no-cross-gdb-python \
${extra_args:-} \
Expand Down
4 changes: 3 additions & 1 deletion avr-aarch64linux-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ build_one_help "$@"
build_one \
--sample-name=avr \
--canadian-host=aarch64-unknown-linux-gnu \
--binutils-plugins \
--no-cross-gdb-python \
"$@"
${extra_args:-} \
"$@"
4 changes: 3 additions & 1 deletion avr-win64-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ build_one_help "$@"
build_one \
--sample-name=avr \
--canadian-host=x86_64-w64-mingw32 \
--binutils-plugins \
--no-cross-gdb-python \
"$@"
${extra_args:-} \
"$@"
2 changes: 2 additions & 0 deletions riscv32-aarch64linux-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ build_one \
--sample-name=riscv32-picolibc-elf \
--vendor-name=unknown \
--canadian-host=aarch64-unknown-linux-gnu \
--binutils-plugins \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
2 changes: 2 additions & 0 deletions riscv32-win64-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ build_one \
--sample-name=riscv32-picolibc-elf \
--vendor-name=unknown \
--canadian-host=x86_64-w64-mingw32 \
--binutils-plugins \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
5 changes: 5 additions & 0 deletions win64-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ source "${script_dir}/common.bashinc"

build_one_help "$@"

if [[ "$(fn_os)" == "linux" ]]; then
extra_args="--static-toolchain"
fi

build_one \
--sample-name=x86_64-w64-mingw32 \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
1 change: 1 addition & 0 deletions win64-win64-canadian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ build_one \
--sample-name=x86_64-w64-mingw32 \
--canadian-host=x86_64-w64-mingw32 \
--no-cross-gdb-python \
${extra_args:-} \
"$@"
5 changes: 5 additions & 0 deletions x64linux-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ source "${script_dir}/common.bashinc"

build_one_help "$@"

if [[ "$(fn_os)" == "linux" ]]; then
extra_args="--static-toolchain"
fi

build_one \
--sample-name=x86_64-unknown-linux-gnu \
--no-cross-gdb-python \
${extra_args:-} \
"$@"

0 comments on commit a0c28f6

Please sign in to comment.