2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "A standalone native ldconfig build"
|
2011-03-29 19:55:18 +00:00
|
|
|
|
2011-10-07 17:36:57 +00:00
|
|
|
LICENSE = "GPLv2+"
|
2011-03-29 19:55:18 +00:00
|
|
|
|
|
|
|
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 \
|
2011-07-20 20:17:25 +00:00
|
|
|
file://flag_fix.patch \
|
2014-05-05 02:30:33 +00:00
|
|
|
file://endianess-header.patch \
|
|
|
|
file://ldconfig-default-to-all-multilib-dirs.patch \
|
2014-10-24 06:05:36 +00:00
|
|
|
file://endian-ness_handling_fix.patch \
|
2015-07-03 01:48:37 +00:00
|
|
|
file://add-64-bit-flag-for-ELF64-entries.patch \
|
2014-05-05 02:30:33 +00:00
|
|
|
"
|
2011-03-29 19:55:18 +00:00
|
|
|
|
2011-10-07 17:36:57 +00:00
|
|
|
PR = "r2"
|
2011-03-29 19:55:18 +00:00
|
|
|
|
2014-05-12 13:55:38 +00:00
|
|
|
FILESEXTRAPATHS =. "${FILE_DIRNAME}/${P}:"
|
2012-11-19 22:16:22 +00:00
|
|
|
|
2011-03-29 19:55:18 +00:00
|
|
|
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}/
|
|
|
|
}
|