Browse Source

build: add Android, NaCl and Raspberry Pi to the list of targets

autodetected by run-bitten.sh.
legacy
Sam Hocevar sam 12 years ago
parent
commit
076eb3d1a9
1 changed files with 39 additions and 0 deletions
  1. +39
    -0
      build/run-bitten.sh

+ 39
- 0
build/run-bitten.sh View File

@@ -127,6 +127,45 @@ if i686-w64-mingw32-g++ --version >/dev/null 2>&1; then
fi
append ""

#
# Android NDK
#

append "[ndk]"
if [ -f "$ANDROID_NDK_ROOT/RELEASE.TXT" ]; then
append "version = $(cat "$ANDROID_NDK_ROOT/RELEASE.TXT")"
fi
append ""

#
# Google NaCl SDK
#

append "[pepper]"
if [ -d "$NACL_SDK_ROOT" ]; then
pepper_version=0
for dir in "$NACL_SDK_ROOT/pepper_"*; do
new_version="$(echo "$dir" | sed 's/.*_//')"
if [ "$new_version" -gt "$pepper_version" ]; then
pepper_version="$new_version"
fi
done
if [ "$pepper_version" != 0 ]; then
append "version = $pepper_version"
fi
fi
append ""

#
# Raspberry Pi cross-compiler
#

append "[raspi]"
if [ -d "$RASPI_SDK_ROOT/tools" ]; then
append "version = 0"
fi
append ""

#
# Show what we just did here
#


Loading…
Cancel
Save