]> git.openpandora.org Git - openembedded.git/commitdiff
gdb: Sync with poky (metadata cleanups, addition of gdb-cross-sdk)
authorRichard Purdie <rpurdie@rpsys.net>
Sat, 1 Sep 2007 18:24:45 +0000 (18:24 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Sat, 1 Sep 2007 18:24:45 +0000 (18:24 +0000)
packages/gdb/gdb-common.inc [new file with mode: 0644]
packages/gdb/gdb-cross-sdk_6.6.bb [new file with mode: 0644]
packages/gdb/gdb-cross.inc
packages/gdb/gdb-cross_6.3.bb
packages/gdb/gdb-cross_6.4.bb
packages/gdb/gdb-cross_6.6.bb
packages/gdb/gdb.inc
packages/gdb/gdb_6.3.bb
packages/gdb/gdb_6.4.bb
packages/gdb/gdb_6.6.bb

diff --git a/packages/gdb/gdb-common.inc b/packages/gdb/gdb-common.inc
new file mode 100644 (file)
index 0000000..0c23692
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "gdb - GNU debugger"
+HOMEPAGE = "http://www.gnu.org/software/gdb/"
+LICENSE="GPL"
+SECTION = "devel"
+PRIORITY = "optional"
+
+inherit autotools
+
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}"
+
+export CC_FOR_BUILD = "${BUILD_CC}"
+export CXX_FOR_BUILD = "${BUILD_CXX}"
+export CPP_FOR_BUILD = "${BUILD_CPP}"
+export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
+export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
+export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
+
+S = "${WORKDIR}/gdb-${PV}"
+B = "${WORKDIR}/build-${TARGET_SYS}"
+
diff --git a/packages/gdb/gdb-cross-sdk_6.6.bb b/packages/gdb/gdb-cross-sdk_6.6.bb
new file mode 100644 (file)
index 0000000..b963489
--- /dev/null
@@ -0,0 +1,7 @@
+require gdb-cross.inc
+
+inherit sdk
+
+do_stage() {
+       :
+}
index 33ca380464e31aedd98233b63f911fa00785acf2..480cce4931b630157f880940869632c9f2ab1f56 100644 (file)
@@ -1,25 +1,18 @@
-DESCRIPTION = "gdb - GNU debugger"
-HOMEPAGE = "http://www.gnu.org/software/gdb/"
-LICENSE="GPL"
-SECTION = "base"
-PRIORITY = "optional"
-DEPENDS = "ncurses-native"
-
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
-
-S = "${WORKDIR}/gdb-${PV}"
-
-inherit autotools sdk
+require gdb-common.inc
 
-FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}"
-
-export CC_FOR_BUILD = "${BUILD_CC}"
-export CXX_FOR_BUILD = "${BUILD_CXX}"
-export CPP_FOR_BUILD = "${BUILD_CPP}"
-export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
-export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
-export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
+DEPENDS = "ncurses-native"
 
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
 
 EXTRA_OECONF = "--with-curses --with-readline"
+
+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"
+       oe_runconf
+}
+
+do_stage () {
+       oe_runmake install
+}
index 5419872bc997ccb04b48aae1c66493a5707ff2af..5b27e09959be10cfff7d3026b83a80dcc7fe37e1 100644 (file)
@@ -1,19 +1,8 @@
 require gdb-cross.inc
 
-PR = "r1"
+inherit cross
+
+PR = "r3"
 
 SRC_URI += "file://sim-install-makefile.patch;patch=1 \
        file://sim-install-makefile-common.patch;patch=1"
-
-do_configure () {
-# override this function to avoid the autoconf/automake/aclocal/autoheader
-# calls for now
-       gnu-configize
-       oe_runconf
-}
-
-do_stage() {
-       oe_runmake 'DESTDIR=${CROSS_DIR}' install
-       cp -pPR ${CROSS_DIR}${prefix}/* ${CROSS_DIR}
-       rm -rf ${CROSS_DIR}${prefix}
-}
index 2f93e6b28ea58a476d3375a4614fb95f536cc17b..e4946b0fe112494d2234b2ed0ee46f6b43cb781e 100644 (file)
@@ -1,14 +1,5 @@
 require gdb-cross.inc
 
-do_configure () {
-# override this function to avoid the autoconf/automake/aclocal/autoheader
-# calls for now
-        gnu-configize
-        oe_runconf
-}
+inherit cross
 
-do_stage() {
-        oe_runmake 'DESTDIR=${CROSS_DIR}' install
-        cp -pPR ${CROSS_DIR}${prefix}/* ${CROSS_DIR}
-        rm -rf ${CROSS_DIR}${prefix}
-}
+PR = "r1"
\ No newline at end of file
index f32ee32a5d34329a0d60d8db91514192054c5261..c6992e4b6a31aba9d37710f86293e78dd69b5dfa 100644 (file)
@@ -1,16 +1,7 @@
 require gdb-cross.inc
 
-PR = "r1"
+SRC_URI += "file://sim-install-6.6.patch;patch=1"
 
-SRC_URI += "file://sim-install-makefile.patch;patch=1"
+inherit cross
 
-do_configure () {
-# override this function to avoid the autoconf/automake/aclocal/autoheader
-# calls for now
-       gnu-configize
-       oe_runconf
-}
-
-do_stage() {
-       :       
-}
+PR = "r1"
\ No newline at end of file
index 7eeda450813e0b85076a9dd263a445b508e72bcd..d3b9d864e78a08e9be1146ef8322ec19666488f8 100644 (file)
@@ -1,41 +1,31 @@
-DESCRIPTION = "gdb - GNU debugger"
-HOMEPAGE = "http://www.gnu.org/software/gdb/"
-LICENSE="GPL"
-SECTION = "devel"
-PRIORITY = "optional"
+require gdb-common.inc
 
 DEPENDS = "ncurses readline"
 
-PACKAGES =+ 'gdbserver '
-FILES_gdbserver = '${bindir}/gdbserver'
+PACKAGES =+ "gdbserver"
+FILES_gdbserver = "${bindir}/gdbserver"
 
-inherit autotools gettext
+RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
+RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
 
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.bz2 \
+inherit gettext
+
+SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \
+            file://gdbserver-cflags-last.diff;patch=1;pnum=0"
 #FIXME    file://uclibc.patch;patch=1 \
-          file://kill_arm_map_symbols.patch;patch=1 \
-          file://gdbserver-cflags-last.diff;patch=1;pnum=0"
 
-LDFLAGS_append = " -s"
-export CC_FOR_BUILD = "${BUILD_CC}"
-export CXX_FOR_BUILD = "${BUILD_CXX}"
-export CPP_FOR_BUILD = "${BUILD_CPP}"
-export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
-export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
-export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
-export CFLAGS_append=" -L${STAGING_LIBDIR}"
 EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
 
 EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
                 --with-curses --disable-multilib --with-readline --disable-sim \
                 --program-prefix=''"
 
-S = "${WORKDIR}/gdb-${PV}"
-B = "${WORKDIR}/build-${TARGET_SYS}"
+LDFLAGS_append = " -s"
+export CFLAGS_append=" -L${STAGING_LIBDIR}"
 
 do_configure () {
-# override this function to avoid the autoconf/automake/aclocal/autoheader
-# calls for now
+       # override this function to avoid the autoconf/automake/aclocal/autoheader
+       # calls for now
        (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
         CPPFLAGS="" oe_runconf
 }
@@ -46,3 +36,5 @@ do_install () {
        install -d ${D}${bindir}
        install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir}
 }
+
+
index e5b055299aaf7b35a32f00078457c33533e78a96..a558775ff419982057247178ce52eb36e9f4422b 100644 (file)
@@ -1,4 +1,3 @@
 require gdb.inc
 
-RDEPENDS_openmn = "libthread-db1"
-PR = "r2"
+PR = "r3"
index e5d2b2af60d6eb5341f7a4ce5a2e37cbd82b84be..de6bcf34bae694e0a63c7966164a30368450ecc4 100644 (file)
@@ -1,3 +1,3 @@
 require gdb.inc
 
-RDEPENDS_openmn = "libthread-db1"
+PR = "r1"
\ No newline at end of file
index 3650b927daea89c5bf0ee82a3e64718ab74632a2..a558775ff419982057247178ce52eb36e9f4422b 100644 (file)
@@ -1,7 +1,3 @@
 require gdb.inc
 
-PR = "r2"
-
-#only append it for glib, not for uclibc
-RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
-RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
+PR = "r3"