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

inherit crosssdk

PR = "r1"

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


SRC_URI += "file://relocatable_sdk.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
}