summaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-utils.inc42
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc.inc4
2 files changed, 43 insertions, 3 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
index 8ce3d7760..c7e36e3ba 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc
@@ -58,13 +58,51 @@ do_install_append() {
58 ln -s gzip ${D}${base_bindir}/zcat 58 ln -s gzip ${D}${base_bindir}/zcat
59} 59}
60 60
61RDEPENDS_klibc-utils-cat = "${THIS_LIBKLIBC}"
62RDEPENDS_klibc-utils-chroot = "${THIS_LIBKLIBC}"
63RDEPENDS_klibc-utils-cpio = "${THIS_LIBKLIBC}"
64RDEPENDS_klibc-utils-dd = "${THIS_LIBKLIBC}"
65RDEPENDS_klibc-utils-dmesg = "${THIS_LIBKLIBC}"
66RDEPENDS_klibc-utils-false = "${THIS_LIBKLIBC}"
67RDEPENDS_klibc-utils-fstype = "${THIS_LIBKLIBC}"
68RDEPENDS_klibc-utils-gzip = "${THIS_LIBKLIBC}"
69RDEPENDS_klibc-utils-halt = "${THIS_LIBKLIBC}"
70RDEPENDS_klibc-utils-ipconfig = "${THIS_LIBKLIBC}"
71RDEPENDS_klibc-utils-kill = "${THIS_LIBKLIBC}"
72RDEPENDS_klibc-utils-kinit.shared = "${THIS_LIBKLIBC}"
73RDEPENDS_klibc-utils-ln = "${THIS_LIBKLIBC}"
74RDEPENDS_klibc-utils-losetup = "${THIS_LIBKLIBC}"
75RDEPENDS_klibc-utils-ls = "${THIS_LIBKLIBC}"
76RDEPENDS_klibc-utils-minips = "${THIS_LIBKLIBC}"
77RDEPENDS_klibc-utils-mkdir = "${THIS_LIBKLIBC}"
78RDEPENDS_klibc-utils-mkfifo = "${THIS_LIBKLIBC}"
79RDEPENDS_klibc-utils-mknod = "${THIS_LIBKLIBC}"
80RDEPENDS_klibc-utils-modprobe = "${THIS_LIBKLIBC}"
81RDEPENDS_klibc-utils-mount = "${THIS_LIBKLIBC}"
82RDEPENDS_klibc-utils-mv = "${THIS_LIBKLIBC}"
83RDEPENDS_klibc-utils-nfsmount = "${THIS_LIBKLIBC}"
84RDEPENDS_klibc-utils-nuke = "${THIS_LIBKLIBC}"
85RDEPENDS_klibc-utils-pivot-root = "${THIS_LIBKLIBC}"
86RDEPENDS_klibc-utils-poweroff = "${THIS_LIBKLIBC}"
87RDEPENDS_klibc-utils-readlink = "${THIS_LIBKLIBC}"
88RDEPENDS_klibc-utils-reboot = "${THIS_LIBKLIBC}"
89RDEPENDS_klibc-utils-resume = "${THIS_LIBKLIBC}"
90RDEPENDS_klibc-utils-run-init = "${THIS_LIBKLIBC}"
91RDEPENDS_klibc-utils-sh.shared = "${THIS_LIBKLIBC}"
92RDEPENDS_klibc-utils-sleep = "${THIS_LIBKLIBC}"
93RDEPENDS_klibc-utils-sync = "${THIS_LIBKLIBC}"
94RDEPENDS_klibc-utils-true = "${THIS_LIBKLIBC}"
95RDEPENDS_klibc-utils-umount = "${THIS_LIBKLIBC}"
96RDEPENDS_klibc-utils-uname = "${THIS_LIBKLIBC}"
97RDEPENDS_klibc-utils-wc = "${THIS_LIBKLIBC}"
98
61PACKAGES_DYNAMIC = "${KLIBC_UTILS_PKGNAME}-*" 99PACKAGES_DYNAMIC = "${KLIBC_UTILS_PKGNAME}-*"
62 100
63python populate_packages_prepend () { 101python populate_packages_prepend () {
64 102
65 base_bin_dir = bb.data.expand('${base_bindir}', d) 103 base_bin_dir = bb.data.expand('${base_bindir}', d)
66 do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_links=True, allow_dirs=True) 104 do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_links=True, allow_dirs=True)
67 105
68 base_sbin_dir = bb.data.expand('${base_sbindir}', d) 106 base_sbin_dir = bb.data.expand('${base_sbindir}', d)
69 do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', allow_dirs=True) 107 do_split_packages(d, base_sbin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='', allow_dirs=True)
70} 108}
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index 7741a585e..4963a294c 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://usr/klibc/LICENSE;md5=d75181f10e998c21eb147f6d2e43ce8
10# debugsources.list: No such file or directory: 10# debugsources.list: No such file or directory:
11INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 11INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
12 12
13INC_PR = "r0" 13INC_PR = "r1"
14 14
15KLIBC_ARCH = '${TARGET_ARCH}' 15KLIBC_ARCH = '${TARGET_ARCH}'
16KLIBC_ARCH_armeb = 'arm' 16KLIBC_ARCH_armeb = 'arm'
@@ -47,3 +47,5 @@ do_configure () {
47 47
48 ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux 48 ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
49} 49}
50
51THIS_LIBKLIBC = "libklibc (= ${PV}-${PR})"