blob: 5bd036fd46785bfbc346824daed19982a5086622 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001require binutils-cross_${PV}.bb
2
3inherit crosssdk
4
5PN = "binutils-crosssdk-${SDK_SYS}"
6
7PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
8
9SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch"
10
Patrick Williams213cb262021-08-07 19:21:33 -050011do_configure:prepend () {
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
13}