summaryrefslogtreecommitdiffstats
path: root/recipes/gdb/gdb-cross-sdk.inc
blob: eb15bb55e7feb3ea43caa1d61bab071c7939f39c (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
require gdb-cross.inc
LICENSE = "GPLv3"

INC_PR = "r5"

inherit sdk

DEPENDS = "ncurses-sdk zlib-sdk flex-native"

do_stage() {
	:
}

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 ${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

	# We use libiberty from binutils
	rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
	rm -f ${D}${libdir}/libiberty.a

}