diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-devtools/binutils/binutils-cross.inc | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-cross.inc')
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross.inc | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc deleted file mode 100644 index c545ea2ad9..0000000000 --- a/meta/recipes-devtools/binutils/binutils-cross.inc +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | inherit cross | ||
| 2 | |||
| 3 | PN = "binutils-cross-${TARGET_ARCH}" | ||
| 4 | BPN = "binutils" | ||
| 5 | |||
| 6 | # Ignore how TARGET_ARCH is computed. | ||
| 7 | TARGET_ARCH[vardepvalue] = "${TARGET_ARCH}" | ||
| 8 | |||
| 9 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 10 | INHIBIT_AUTOTOOLS_DEPS = "1" | ||
| 11 | |||
| 12 | TOOLCHAIN = "gcc" | ||
| 13 | |||
| 14 | SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.patch" | ||
| 15 | |||
| 16 | # Specify lib-path else we use a load of search dirs which we don't use | ||
| 17 | # and mean the linker scripts have to be relocated. | ||
| 18 | EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} \ | ||
| 19 | --disable-install-libbfd \ | ||
| 20 | --disable-gprofng \ | ||
| 21 | --enable-poison-system-directories \ | ||
| 22 | --with-lib-path==${target_base_libdir}:=${target_libdir} \ | ||
| 23 | " | ||
| 24 | do_install () { | ||
| 25 | oe_runmake 'DESTDIR=${D}' install | ||
| 26 | |||
| 27 | # We don't really need these, so we'll remove them... | ||
| 28 | rm -rf ${D}${STAGING_DIR_NATIVE}${libdir_native}/libiberty.a | ||
| 29 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS} | ||
| 30 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/lib/ldscripts | ||
| 31 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/info | ||
| 32 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/locale | ||
| 33 | rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/share/man | ||
| 34 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/share || : | ||
| 35 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}/gcc-lib || : | ||
| 36 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64/gcc-lib || : | ||
| 37 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir} || : | ||
| 38 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${libdir}64 || : | ||
| 39 | rmdir ${D}${STAGING_DIR_NATIVE}${prefix_native}/${prefix} || : | ||
| 40 | } | ||
