Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | require binutils-cross_${PV}.bb |
| 2 | |
| 3 | inherit crosssdk |
| 4 | |
| 5 | PN = "binutils-crosssdk-${SDK_SYS}" |
| 6 | |
| 7 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" |
| 8 | |
| 9 | SRC_URI += "file://0001-binutils-crosssdk-Generate-relocatable-SDKs.patch" |
| 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | do_configure:prepend () { |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 12 | 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 | } |