Fixes [YOCTO #4497] Usage of FILESPATH is discouraged, since it can make recipes harder to bbappend. Instead FILESEXTRAPATHS should be used to extend the path. If possible try to use any of the default FILESPATH dirs. Also remove superfluous comment and do minor indentation fix. (From OE-Core rev: 57109e59abb7c6af029f452d06b46f47084cff11) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
838 B
BlitzBasic
33 lines
838 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 \
|
|
"
|
|
|
|
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}/
|
|
}
|