diff options
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
-rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index 0856b1c667..f0946de2cc 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb @@ -3,12 +3,13 @@ SECTION = "devel" # Would need transfig-native for documentation if it wasn't disabled DEPENDS = "elfutils binutils" SUMMARY = "An ELF prelinking utility" +HOMEPAGE = "http://git.yoctoproject.org/cgit.cgi/prelink-cross/about/" DESCRIPTION = "The prelink package contains a utility which modifies ELF shared libraries \ and executables, so that far fewer relocations need to be resolved at \ runtime and thus programs come up faster." LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" -SRCREV = "ef20628dd78b92e1a3123afc67b64cf010bdd9e4" +SRCREV = "a853a5d715d84eec93aa68e8f2df26b7d860f5b2" PV = "1.0+git${SRCPV}" # @@ -26,11 +27,17 @@ FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" PACKAGES =+ "${PN}-cron" -SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink \ +SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_staging \ file://prelink.conf \ file://prelink.cron.daily \ file://prelink.default \ - file://macros.prelink" + file://macros.prelink \ + file://0001-src-arch-mips.c-check-info-resolvetls-before-use-its.patch \ +" +UPSTREAM_CHECK_COMMITS = "1" + +# error: error.h: No such file or directory +COMPATIBLE_HOST_libc-musl = 'null' TARGET_OS_ORIG := "${TARGET_OS}" OVERRIDES_append = ":${TARGET_OS_ORIG}" @@ -132,7 +139,7 @@ python do_linkerpaths () { } python () { - overrides = d.getVar("OVERRIDES", True).split(":") + overrides = d.getVar("OVERRIDES").split(":") if "class-target" in overrides: bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d) } @@ -150,13 +157,15 @@ do_install_append () { install -m 0644 ${WORKDIR}/macros.prelink ${D}${sysconfdir}/rpm/macros.prelink } -# If we're using image-prelink, we want to skip this on the host side -# but still do it if the package is installed on the target... +# If we ae doing a cross install, we want to avoid prelinking. +# Prelinking during a cross install should be handled by the image-prelink +# bbclass. If the user desires this to run on the target at first boot +# they will need to create a custom boot script. pkg_postinst_prelink() { #!/bin/sh if [ "x$D" != "x" ]; then - ${@bb.utils.contains('USER_CLASSES', 'image-prelink', 'exit 0', 'exit 1', d)} + exit 0 fi prelink -a |