summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-07-12 06:27:07 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-07-12 06:27:07 +0000
commitc0c51f05d36b289bcf306cb7781ac6d3f3775fee (patch)
treecbcdac055d9d263d0ef3a6d883b20e73d7b5017f /legacy
parentf020fff2e6753e3b55718119f0d36595ef6c23aa (diff)
dont need that anymore
SVN revision: 15742
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/Makefile.am3
-rwxr-xr-xlegacy/edje/make_cross_compile_arm.sh84
2 files changed, 1 insertions, 86 deletions
diff --git a/legacy/edje/Makefile.am b/legacy/edje/Makefile.am
index 84f3c46beb..80e30132de 100644
--- a/legacy/edje/Makefile.am
+++ b/legacy/edje/Makefile.am
@@ -23,8 +23,7 @@ dist-hook:
23 23
24bin_SCRIPTS = edje-config 24bin_SCRIPTS = edje-config
25 25
26EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN edje.spec edje.pc.in edje.c.in gendoc Doxyfile edje_docs.tar.gz \ 26EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN edje.spec edje.pc.in edje.c.in gendoc Doxyfile edje_docs.tar.gz
27make_cross_compile_arm.sh
28 27
29pkgconfigdir = $(libdir)/pkgconfig 28pkgconfigdir = $(libdir)/pkgconfig
30pkgconfig_DATA = edje.pc 29pkgconfig_DATA = edje.pc
diff --git a/legacy/edje/make_cross_compile_arm.sh b/legacy/edje/make_cross_compile_arm.sh
deleted file mode 100755
index 6caad0c23a..0000000000
--- a/legacy/edje/make_cross_compile_arm.sh
+++ /dev/null
@@ -1,84 +0,0 @@
1#!/bin/sh
2
3PROJ="edje"
4
5SKIFF="/skiff/local"
6HOSTARCH="i686-pc-linux-gnu"
7TARGETCPU="arm"
8TARGETARCH=$TARGETCPU"-pc-linux-gnu"
9
10export EDB_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/edb-config"
11export EET_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/eet-config"
12export FREETYPE_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/freetype-config"
13export EVAS_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/evas-config"
14export ECORE_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/ecore-config"
15export EMBRYO_CONFIG=$SKIFF"/"$TARGETCPU"-linux/bin/embryo-config"
16
17make clean distclean
18export CC=/skiff/local/bin/arm-linux-gcc
19export CFLAGS=-O9
20./configure \
21--host=$HOSTARCH \
22--build=$TARGETARCH \
23--target=$TARGETARCH \
24--disable-edje-cc \
25--enable-fb-only
26
27INST="/tmp/"$PROJ"-instroot"
28sudo rm -rf $INST
29
30make
31
32for I in `find . -name "*.la" -print`; do
33 sed s:"/usr/local":$INST:g < $I > "/tmp/.sed.tmp"
34 sudo cp "/tmp/.sed.tmp" $I
35 rm -f "/tmp/.sed.tmp"
36done
37
38sudo \
39make \
40prefix=$INST \
41exec_prefix=$INST \
42bindir=$INST"/bin" \
43sbindir=$INST"/sbin" \
44sysconfdir=$INST"/etc" \
45datadir=$INST"/share" \
46includedir=$INST"/include" \
47libdir=$INST"/lib" \
48libexecdir=$INST"/libexec" \
49localstatedir=$INST"/var/run" \
50mandir=$INST"/share/man" \
51infodir=$INST"/share/info" \
52install
53
54## FIXUPS
55for I in $INST"/bin/"* $INST"/sbin/"* $INST"/libexec/"*; do
56 J=`echo $I | sed s:$TARGETARCH"-"::g`
57 sudo mv $I $J
58done
59
60CF=$INST"/bin/"$PROJ"-config"
61sed s:"/usr/local":$SKIFF"/"$TARGETCPU"-linux":g < $CF > "/tmp/.sed.tmp"
62sudo cp "/tmp/.sed.tmp" $CF
63rm -f "/tmp/.sed.tmp"
64
65for I in $INST"/lib/"*.la; do
66 sed s:"/usr/local":$SKIFF"/"$TARGETCPU"-linux":g < $I > "/tmp/.sed.tmp"
67 sudo cp "/tmp/.sed.tmp" $I
68 rm -f "/tmp/.sed.tmp"
69done
70
71## package it all up
72PACK=$PROJ"-"$TARGETCPU"-inst.tar.gz"
73
74DIR=$PWD
75cd $INST
76sudo tar zcvf $DIR"/"$PACK *
77sudo chown $USER $DIR"/"$PACK
78cd $DIR
79sudo rm -rf $INST
80
81## install it in our skiff tree
82cd $SKIFF"/"$TARGETCPU"-linux"
83sudo tar zxvf $DIR"/"$PACK
84