summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/icecc.bbclass2
-rw-r--r--meta/recipes-devtools/icecc-create-env/icecc-create-env-native/icecc-lto-update.patch (renamed from meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-lto-update.patch)20
-rw-r--r--meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb (renamed from meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb)0
3 files changed, 11 insertions, 11 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index e20666b743..710d7982ca 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -33,7 +33,7 @@ def icecc_dep_prepend(d):
33 # we need that built is the responsibility of the patch function / class, not 33 # we need that built is the responsibility of the patch function / class, not
34 # the application. 34 # the application.
35 if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d): 35 if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d):
36 return "icecc-create-env" 36 return "icecc-create-env-native"
37 return "" 37 return ""
38 38
39DEPENDS_prepend += "${@icecc_dep_prepend(d)} " 39DEPENDS_prepend += "${@icecc_dep_prepend(d)} "
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-lto-update.patch b/meta/recipes-devtools/icecc-create-env/icecc-create-env-native/icecc-lto-update.patch
index b396261d69..a7af2e3a98 100644
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-lto-update.patch
+++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env-native/icecc-lto-update.patch
@@ -1,7 +1,7 @@
1--- a/icecc-create-env 2006-12-14 09:50:46.000000000 +0300 1--- a/icecc-create-env 2006-12-14 09:50:46.000000000 +0300
2+++ b/icecc-create-env 2011-08-31 17:52:45.000000000 +0400 2+++ b/icecc-create-env 2011-08-31 17:52:45.000000000 +0400
3@@ -27,9 +27,6 @@ 3@@ -27,9 +27,6 @@
4 # readlink is not portable enough. 4 # readlink is not portable enough.
5 path=`ls -H $path` 5 path=`ls -H $path`
6 toadd="$name=$path" 6 toadd="$name=$path"
7- if test "$name" = "$path"; then 7- if test "$name" = "$path"; then
@@ -13,7 +13,7 @@
13@@ -117,6 +114,14 @@ 13@@ -117,6 +114,14 @@
14 add_file "$specfile" 14 add_file "$specfile"
15 fi 15 fi
16 16
17+ltofile=`$added_gcc -print-prog-name=lto1` 17+ltofile=`$added_gcc -print-prog-name=lto1`
18+pluginfile="${ltofile%lto1}liblto_plugin.so" 18+pluginfile="${ltofile%lto1}liblto_plugin.so"
19+if test -r "$pluginfile" 19+if test -r "$pluginfile"
@@ -24,14 +24,14 @@
24+ 24+
25 tempdir=`mktemp -d /tmp/iceccenvXXXXXX` 25 tempdir=`mktemp -d /tmp/iceccenvXXXXXX`
26 new_target_files= 26 new_target_files=
27 for i in $target_files; do 27 for i in $target_files; do
28@@ -140,49 +147,44 @@ 28@@ -140,49 +147,44 @@
29 done 29 done
30 30
31 #sort the files 31 #sort the files
32- target_files=`for i in $new_target_files; do echo $i; done | sort` 32- target_files=`for i in $new_target_files; do echo $i; done | sort`
33+target_files=`for i in $new_target_files; do echo $i; done | sort` 33+target_files=`for i in $new_target_files; do echo $i; done | sort`
34 34
35 #test if an archive name was supplied 35 #test if an archive name was supplied
36 #if not use the md5 of all files as the archive name 36 #if not use the md5 of all files as the archive name
37 if test -z "$archive_name"; then 37 if test -z "$archive_name"; then
@@ -49,7 +49,7 @@
49+ break 49+ break
50+ fi 50+ fi
51+ done 51+ done
52 52
53-#calculate md5 and use it as the archive name 53-#calculate md5 and use it as the archive name
54-archive_name=`for i in $target_files; do $md5sum $tempdir/$i; done | sed -e 's/ .*$//' | $md5sum | sed -e 's/ .*$//'` || { 54-archive_name=`for i in $target_files; do $md5sum $tempdir/$i; done | sed -e 's/ .*$//' | $md5sum | sed -e 's/ .*$//'` || {
55- if test -z "$silent"; then 55- if test -z "$silent"; then
@@ -64,7 +64,7 @@
64+ mydir=`pwd` 64+ mydir=`pwd`
65+else 65+else
66+ mydir="`dirname "$archive_name"`" 66+ mydir="`dirname "$archive_name"`"
67+ 67+
68+ #check if we have a full path or only a filename 68+ #check if we have a full path or only a filename
69+ if test "$mydir" = "." ; then 69+ if test "$mydir" = "." ; then
70+ mydir=`pwd` 70+ mydir=`pwd`
@@ -75,18 +75,18 @@
75-} 75-}
76- 76-
77 fi 77 fi
78 78
79 if test -z "$silent"; then 79 if test -z "$silent"; then
80-echo "creating $archive_name.tar.gz" 80-echo "creating $archive_name.tar.gz"
81+echo "creating $archive_name" 81+echo "creating $archive_name"
82 fi 82 fi
83 83
84-if test -z "$archive_name"; then 84-if test -z "$archive_name"; then
85- mydir=`pwd` 85- mydir=`pwd`
86-else 86-else
87-# mydir=dirname ${archive_name} 87-# mydir=dirname ${archive_name}
88- mydir=${archive_name%/*} 88- mydir=${archive_name%/*}
89- 89-
90-#check if we have a full path or only a filename 90-#check if we have a full path or only a filename
91- if test -z "$mydir"; then 91- if test -z "$mydir"; then
92- mydir=`pwd` 92- mydir=`pwd`
diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb b/meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb
index 9a440baccf..9a440baccf 100644
--- a/meta/recipes-devtools/icecc-create-env/icecc-create-env_0.1.bb
+++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb