summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-crosssdk_2.26.bb
blob: 788106f9e79f3c18e5d0a738b77c691042250582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require binutils-cross_${PV}.bb

inherit crosssdk

PN = "binutils-crosssdk-${TARGET_ARCH}"

PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"

SRC_URI += "file://0001-Generate-relocatable-SDKs.patch"

do_configure_prepend () {
	sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
}