mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
Some header fields of ELF were read with wrong size on 64bit big-endian machine, fix it by reading the fields with read64 instead of read32. (From OE-Core rev: adbf0b1fdf897076e5e3dec2443c8927f315c2e6) (From OE-Core rev: 7799b884f57642a48f9ed9a829a176d83b474516) Signed-off-by: Par Olsson <Par.Olsson@windriver.com> Signed-off-by: Shan Hai <shan.hai@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
889 B
BlitzBasic
34 lines
889 B
BlitzBasic
SUMMARY = "A standalone native ldconfig build"
|
|
|
|
LICENSE = "GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=17;md5=1d15f20937c055cb5de2329a4c054399"
|
|
|
|
SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \
|
|
file://ldconfig.patch \
|
|
file://ldconfig_aux-cache_path_fix.patch \
|
|
file://32and64bit.patch \
|
|
file://endian-ness_handling.patch \
|
|
file://flag_fix.patch \
|
|
file://endianess-header.patch \
|
|
file://ldconfig-default-to-all-multilib-dirs.patch \
|
|
file://endian-ness_handling_fix.patch \
|
|
"
|
|
|
|
PR = "r2"
|
|
|
|
FILESEXTRAPATHS =. "${FILE_DIRNAME}/${P}:"
|
|
|
|
inherit native
|
|
|
|
S = "${WORKDIR}/${PN}-${PV}"
|
|
|
|
do_compile () {
|
|
$CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig
|
|
}
|
|
|
|
do_install () {
|
|
install -d ${D}/${bindir}/
|
|
install ldconfig ${D}/${bindir}/
|
|
}
|