blob: 6752659304e1c267c4c8e556820b05f9aef692c9 [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
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch"
8
Patrick Williams213cb262021-08-07 19:21:33 -05009do_configure:prepend () {
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
11}