summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb')
-rw-r--r--meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb b/meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb
new file mode 100644
index 0000000..d7bc444
--- /dev/null
+++ b/meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb
@@ -0,0 +1,30 @@
1SUMMARY = "A standalone native ldconfig build"
2
3LICENSE = "GPLv2+"
4
5LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=17;md5=1d15f20937c055cb5de2329a4c054399"
6
7SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \
8 file://ldconfig.patch \
9 file://ldconfig_aux-cache_path_fix.patch \
10 file://32and64bit.patch \
11 file://endian-ness_handling.patch \
12 file://flag_fix.patch \
13 file://endianess-header.patch"
14
15PR = "r2"
16
17FILESPATH = "${FILE_DIRNAME}/${PN}-${PV}/"
18
19inherit native
20
21S = "${WORKDIR}/${PN}-${PV}"
22
23do_compile () {
24 $CC ldconfig.c -std=gnu99 chroot_canon.c xmalloc.c xstrdup.c cache.c readlib.c -I. dl-cache.c -o ldconfig
25}
26
27do_install () {
28 install -d ${D}/${bindir}/
29 install ldconfig ${D}/${bindir}/
30}