Pārlūkot izejas kodu

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

autodetected by run-bitten.sh.
legacy
Sam Hocevar sam pirms 12 gadiem
vecāks
revīzija
076eb3d1a9
1 mainītis faili ar 39 papildinājumiem un 0 dzēšanām
  1. +39
    -0
      build/run-bitten.sh

+ 39
- 0
build/run-bitten.sh Parādīt failu

@@ -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
#


Notiek ielāde…
Atcelt
Saglabāt