source: titan/libdreamdvd/makesh4.p215.sh @ 43480

Last change on this file since 43480 was 37596, checked in by obi, 3 years ago

fix

  • Property svn:executable set to *
File size: 1.8 KB
Line 
1STM=$1
2export CC="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc
3export LD="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-ld
4export CXX="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-g++
5
6export NM="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-nm 
7export AR="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-ar
8export AS="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-as
9export RANLIB="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-ranlib
10export STRIP="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-strip
11export OBJCOPY="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-objcopy
12export OBJDUMP="$HOME"/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/devkit/sh4/bin/sh4-linux-objdump
13export CFLAGS="-O2" 
14export CXXFLAGS="-O2" 
15export LDFLAGS="" 
16export PKG_CONFIG_PATH="$HOME/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/cdkroot/usr/lib/pkgconfig" 
17export LN_S="ln -s" 
18
19cp libipkg.pc $HOME/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/cdkroot/usr/lib/pkgconfig
20#CC=sh4-linux-gcc CXX=sh4-linux-g++ LD=sh4-linux-ld NM=sh4-linux-nm AR=sh4-linux-ar AS=sh4-linux-as RANLIB=sh4-linux-ranlib STRIP=sh4-linux-strip OBJCOPY=sh4-linux-objcopy OBJDUMP=sh4-linux-objdump LN_S="ln -s" CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="" PKG_CONFIG_PATH="/home/obiwan/flashimg/BUILDGIT/checkout_stm24/tdt/tufsbox/cdkroot/usr/lib/pkgconfig" \
21make clean
22./autogen.sh
23
24./configure \
25--build=x86_64-unknown-linux-gnu \
26--host=sh4-linux \
27--prefix=/usr && \
28make
29#make install
30
31cp .libs/* $HOME/flashimg/BUILDGIT/checkout_"$STM"/tdt/tufsbox/cdkroot/usr/lib
Note: See TracBrowser for help on using the repository browser.