Changeset 945 for trunk/build-ps3


Ignore:
Timestamp:
Sep 10, 2011, 9:33:10 PM (10 years ago)
Author:
sam
Message:

build: new lol-build script for easier autobuilds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build-ps3

    r876 r945  
    11#!/bin/sh
    2 
    3 ##  Native PS3 compilation for Lol Engine -- Sam Hocevar <sam@hocevar.net>
    42
    53# This can't hurt
    64make distclean
    75
    8 set -e
     6./build/lol-build bootstrap ps3-ppu
     7./build/lol-build configure ps3-ppu
     8./build/lol-build build ps3-ppu
    99
    10 # Only on Windows
    11 if test "x${MSYSTEM}" = xMINGW32; then
    12   PATH="$PATH:./contrib/gtk-2.22.1/bin"
    13   M4PATH="./contrib/gtk-2.22.1/share/aclocal"
    14   export M4PATH # This looks necessary
    15   PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`pwd`/contrib/gtkglarea-2.0.1/lib/pkgconfig"
    16   export PKG_CONFIG_PATH # This looks necessary, too
    17 fi
    18 
    19 # Bootstrap, configure and make
    20 # NOTE: ensure that $CELL_SDK is set and ppu-lv2-g++ is in the path
    21 ./bootstrap
    22 ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=none
    23 make -j6
    24 
Note: See TracChangeset for help on using the changeset viewer.