diff options
Diffstat (limited to 'resources/scripts')
-rwxr-xr-x | resources/scripts/helpers/build/module/crossgcc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/resources/scripts/helpers/build/module/crossgcc b/resources/scripts/helpers/build/module/crossgcc index 17eaa64f..56c2172e 100755 --- a/resources/scripts/helpers/build/module/crossgcc +++ b/resources/scripts/helpers/build/module/crossgcc @@ -26,9 +26,15 @@ set -u -e ./build clean crossgcc -# Now build crossgcc ( -cd "crossgcc/util/crossgcc" -make build-i386 -make build-arm +cd "crossgcc/util/crossgcc/" +if [ $# -lt 1 ]; then + make build-i386 + make build-arm +else + for architecture in "${@}"; do + make build-${architecture} + done +fi ) + |