Changeset 1972


Ignore:
Timestamp:
Oct 4, 2012, 1:35:38 AM (5 years ago)
Author:
sam
Message:

build: add Android, NaCl and Raspberry Pi to the list of targets
autodetected by run-bitten.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/run-bitten.sh

    r1968 r1972  
    129129
    130130#
     131# Android NDK
     132#
     133
     134append "[ndk]"
     135if [ -f "$ANDROID_NDK_ROOT/RELEASE.TXT" ]; then
     136  append "version = $(cat "$ANDROID_NDK_ROOT/RELEASE.TXT")"
     137fi
     138append ""
     139
     140#
     141# Google NaCl SDK
     142#
     143
     144append "[pepper]"
     145if [ -d "$NACL_SDK_ROOT" ]; then
     146  pepper_version=0
     147  for dir in "$NACL_SDK_ROOT/pepper_"*; do
     148    new_version="$(echo "$dir" | sed 's/.*_//')"
     149    if [ "$new_version" -gt "$pepper_version" ]; then
     150      pepper_version="$new_version"
     151    fi
     152  done
     153  if [ "$pepper_version" != 0 ]; then
     154    append "version = $pepper_version"
     155  fi
     156fi
     157append ""
     158
     159#
     160# Raspberry Pi cross-compiler
     161#
     162
     163append "[raspi]"
     164if [ -d "$RASPI_SDK_ROOT/tools" ]; then
     165  append "version = 0"
     166fi
     167append ""
     168
     169#
    131170# Show what we just did here
    132171#
Note: See TracChangeset for help on using the changeset viewer.