[oe-commits] Kalev Lember : gdb: fix compile if ${TARGET_LINK_HASH_STYLE} is not set
GIT User account
git at amethyst.openembedded.net
Sat Oct 18 23:21:56 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ce4ca8b4d56bfd28f682d8969daac566c22adc19
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ce4ca8b4d56bfd28f682d8969daac566c22adc19
Author: Kalev Lember <kalev at smartlink.ee>
Date: Sat Oct 18 22:18:58 2008 +0300
gdb: fix compile if ${TARGET_LINK_HASH_STYLE} is not set
* fixes bug 4733
* If other recipes with a similar problem come up, then it might make
sense to rewrite setting TARGET_LDFLAGS in bitbake.conf using
${@base_conditional}
---
packages/gdb/gdb.inc | 5 +++++
packages/gdb/gdb_6.3.bb | 2 +-
packages/gdb/gdb_6.4.bb | 2 +-
packages/gdb/gdb_6.6.bb | 2 +-
packages/gdb/gdb_6.7.1.bb | 2 ++
packages/gdb/gdb_6.8.bb | 2 +-
6 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/packages/gdb/gdb.inc b/packages/gdb/gdb.inc
index 8e7121b..77a9ca6 100644
--- a/packages/gdb/gdb.inc
+++ b/packages/gdb/gdb.inc
@@ -29,6 +29,11 @@ do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
+
+ # Remove duplicate spaces to work around configure complaining about
+ # changed LDFLAGS.
+ LDFLAGS=$(echo "${LDFLAGS}" | sed "s/ / /")
+
CPPFLAGS="" oe_runconf
}
diff --git a/packages/gdb/gdb_6.3.bb b/packages/gdb/gdb_6.3.bb
index 05d4565..5513d34 100644
--- a/packages/gdb/gdb_6.3.bb
+++ b/packages/gdb/gdb_6.3.bb
@@ -1,3 +1,3 @@
require gdb.inc
-FILE_PR = "r3"
+FILE_PR = "r4"
diff --git a/packages/gdb/gdb_6.4.bb b/packages/gdb/gdb_6.4.bb
index 06d0129..134c384 100644
--- a/packages/gdb/gdb_6.4.bb
+++ b/packages/gdb/gdb_6.4.bb
@@ -1,3 +1,3 @@
require gdb.inc
-FILE_PR = "r1"
\ No newline at end of file
+FILE_PR = "r2"
diff --git a/packages/gdb/gdb_6.6.bb b/packages/gdb/gdb_6.6.bb
index 9904290..db1a89b 100644
--- a/packages/gdb/gdb_6.6.bb
+++ b/packages/gdb/gdb_6.6.bb
@@ -1,5 +1,5 @@
require gdb.inc
-FILE_PR = "r4"
+FILE_PR = "r5"
SRC_URI += "file://early_debug_in_nptl.patch;patch=1;pnum=0"
diff --git a/packages/gdb/gdb_6.7.1.bb b/packages/gdb/gdb_6.7.1.bb
index a411974..167c415 100644
--- a/packages/gdb/gdb_6.7.1.bb
+++ b/packages/gdb/gdb_6.7.1.bb
@@ -1,5 +1,7 @@
require gdb.inc
+FILE_PR = "r1"
+
DEFAULT_PREFERENCE_avr32 = "99"
SRC_URI_avr32 = " http://avr32linux.org/twiki/pub/Main/GDBPatches/gdb-6.7.1.atmel.1.0.3.tar.bz2"
S_avr32 = "${WORKDIR}/gdb-6.7.1.atmel.1.0.3"
diff --git a/packages/gdb/gdb_6.8.bb b/packages/gdb/gdb_6.8.bb
index 832c40b..134c384 100644
--- a/packages/gdb/gdb_6.8.bb
+++ b/packages/gdb/gdb_6.8.bb
@@ -1,3 +1,3 @@
require gdb.inc
-FILE_PR = "r1"
+FILE_PR = "r2"
More information about the Openembedded-commits
mailing list