blob: c3eef690d75beb3cda3b0f3ba673797d412d6d78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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"
FILESPATHPKG =. "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}"
do_install_append() {
# these mo files from gdb-cross-sdk clash with files from binutils-cross-sdk
# when building sdk archives. Drop them for now as a way to restore toolchains.
rm -f ${D}/${datadir}/locale/*/LC_MESSAGES/{bfd,opcodes}.mo
# we don't care about these infos, installed from binutils
rm -f ${D}/${infodir}/{configure,standards,bfd}.info
rm -f ${D}/${infodir}/dir
# We use libiberty from binutils
rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
rm -f ${D}${libdir}/libiberty.a
}
|