diff options
Diffstat (limited to 'meta/recipes-devtools/prelink/prelink_git.bb')
-rw-r--r-- | meta/recipes-devtools/prelink/prelink_git.bb | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index f0946de2cc..24713b61f8 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb @@ -9,7 +9,7 @@ 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 = "a853a5d715d84eec93aa68e8f2df26b7d860f5b2" +SRCREV = "f9975537dbfd9ade0fc813bd5cf5fcbe41753a37" PV = "1.0+git${SRCPV}" # @@ -19,28 +19,28 @@ PV = "1.0+git${SRCPV}" # # Default is prelinking is enabled. # -SUMMARY_${PN}-cron = "Cron scripts to control automatic prelinking" -DESCRIPTION_${PN}-cron = "Cron scripts to control automatic prelinking. \ +SUMMARY:${PN}-cron = "Cron scripts to control automatic prelinking" +DESCRIPTION:${PN}-cron = "Cron scripts to control automatic prelinking. \ See: ${sysconfdir}/cron.daily/prelink for configuration information." -FILES_${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" +FILES:${PN}-cron = "${sysconfdir}/cron.daily ${sysconfdir}/default" PACKAGES =+ "${PN}-cron" SRC_URI = "git://git.yoctoproject.org/prelink-cross.git;branch=cross_prelink_staging \ + file://0001-Add-MIPS-gnu-hash-support.patch \ file://prelink.conf \ file://prelink.cron.daily \ file://prelink.default \ 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' +COMPATIBLE_HOST:libc-musl = 'null' TARGET_OS_ORIG := "${TARGET_OS}" -OVERRIDES_append = ":${TARGET_OS_ORIG}" +OVERRIDES:append = ":${TARGET_OS_ORIG}" S = "${WORKDIR}/git" @@ -48,9 +48,11 @@ inherit autotools BBCLASSEXTEND = "native" -EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ +EXTRA_OECONF = "--with-pkgversion=${PV}-${PR} \ --with-bugurl=http://bugzilla.yoctoproject.org/" +PACKAGECONFIG ??= "" +PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" # # For target prelink we need to ensure paths match the lib path layout @@ -144,12 +146,12 @@ python () { bb.build.addtask('do_linkerpaths', 'do_configure', 'do_patch', d) } -do_configure_prepend () { +do_configure:prepend () { # Disable documentation! echo "all:" > ${S}/doc/Makefile.am } -do_install_append () { +do_install:append () { install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default ${D}${sysconfdir}/rpm install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf install -m 0644 ${WORKDIR}/prelink.cron.daily ${D}${sysconfdir}/cron.daily/prelink @@ -161,7 +163,7 @@ do_install_append () { # 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() { +pkg_postinst:prelink() { #!/bin/sh if [ "x$D" != "x" ]; then @@ -171,7 +173,7 @@ fi prelink -a } -pkg_prerm_prelink() { +pkg_prerm:prelink() { #!/bin/sh if [ "x$D" != "x" ]; then |