diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-initramfs | |
parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-initramfs')
15 files changed, 74 insertions, 74 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass index bba10f1b61..83112c06fa 100644 --- a/meta-initramfs/classes/klibc.bbclass +++ b/meta-initramfs/classes/klibc.bbclass | |||
@@ -3,10 +3,10 @@ DEPENDS =+ "klcc-cross" | |||
3 | 3 | ||
4 | # Default for klcc is to build static binaries. | 4 | # Default for klcc is to build static binaries. |
5 | # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. | 5 | # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. |
6 | CC_forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" | 6 | CC:forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}" |
7 | CC_forcevariable_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" | 7 | CC:forcevariable:armv4_linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork" |
8 | CC_append_armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" | 8 | CC:append:armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" |
9 | CC_append_armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" | 9 | CC:append:armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}" |
10 | 10 | ||
11 | # klcc uses own optimizations by default. See klcc(1) man file. | 11 | # klcc uses own optimizations by default. See klcc(1) man file. |
12 | export CFLAGS="${TUNE_CCARGS}" | 12 | export CFLAGS="${TUNE_CCARGS}" |
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb index f90e2344bb..2dce19c6be 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | |||
@@ -8,7 +8,7 @@ SRC_URI = "file://icon.xpm" | |||
8 | 8 | ||
9 | S = "${WORKDIR}" | 9 | S = "${WORKDIR}" |
10 | 10 | ||
11 | do_install_prepend () { | 11 | do_install:prepend () { |
12 | echo '# /boot/boot.cfg - KEXECBOOT configuration file. | 12 | echo '# /boot/boot.cfg - KEXECBOOT configuration file. |
13 | # | 13 | # |
14 | # First kernel stanza. | 14 | # First kernel stanza. |
@@ -55,7 +55,7 @@ do_install () { | |||
55 | 55 | ||
56 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 56 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
57 | 57 | ||
58 | FILES_${PN} += "/boot/*" | 58 | FILES:${PN} += "/boot/*" |
59 | 59 | ||
60 | CMDLINE ?= "" | 60 | CMDLINE ?= "" |
61 | CMDLINE_DEBUG ?= "quiet" | 61 | CMDLINE_DEBUG ?= "quiet" |
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb index ad9ccd02c6..0f77f65df3 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
6 | PV = "0.6+git${SRCPV}" | 6 | PV = "0.6+git${SRCPV}" |
7 | S = "${WORKDIR}/git" | 7 | S = "${WORKDIR}/git" |
8 | SRC_URI = "git://github.com/kexecboot/kexecboot.git" | 8 | SRC_URI = "git://github.com/kexecboot/kexecboot.git" |
9 | SRC_URI_append_libc-klibc = "\ | 9 | SRC_URI:append_libc-klibc = "\ |
10 | file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch \ | 10 | file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch \ |
11 | file://0001-make-Add-compiler-includes-in-cflags.patch \ | 11 | file://0001-make-Add-compiler-includes-in-cflags.patch \ |
12 | " | 12 | " |
@@ -27,9 +27,9 @@ do_install () { | |||
27 | 27 | ||
28 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 28 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
29 | 29 | ||
30 | FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev /sys" | 30 | FILES:${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev /sys" |
31 | 31 | ||
32 | pkg_postinst_${PN} () { | 32 | pkg_postinst:${PN} () { |
33 | ln -sf ${bindir}/kexecboot $D/init | 33 | ln -sf ${bindir}/kexecboot $D/init |
34 | } | 34 | } |
35 | 35 | ||
diff --git a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb index 667690f888..4c06346570 100644 --- a/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb +++ b/meta-initramfs/recipes-core/initrdscripts/initramfs-debug_1.0.bb | |||
@@ -11,4 +11,4 @@ do_install() { | |||
11 | 11 | ||
12 | inherit allarch | 12 | inherit allarch |
13 | 13 | ||
14 | FILES_${PN} += " /init " | 14 | FILES:${PN} += " /init " |
diff --git a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb index 2955baea2b..4b76246a03 100644 --- a/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb +++ b/meta-initramfs/recipes-core/packagegroups/packagegroup-meta-initramfs.bb | |||
@@ -8,11 +8,11 @@ PACKAGES = ' \ | |||
8 | packagegroup-meta-initramfs-devtools \ | 8 | packagegroup-meta-initramfs-devtools \ |
9 | ' | 9 | ' |
10 | 10 | ||
11 | RDEPENDS_packagegroup-meta-initramfs = "\ | 11 | RDEPENDS:packagegroup-meta-initramfs = "\ |
12 | packagegroup-meta-initramfs-devtools \ | 12 | packagegroup-meta-initramfs-devtools \ |
13 | " | 13 | " |
14 | 14 | ||
15 | RDEPENDS_packagegroup-meta-initramfs-devtools = "\ | 15 | RDEPENDS:packagegroup-meta-initramfs-devtools = "\ |
16 | dracut \ | 16 | dracut \ |
17 | ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", "grubby", "", d)} \ | 17 | ${@bb.utils.contains_any("TRANSLATED_TARGET_ARCH", "i586 x86-64", "grubby", "", d)} \ |
18 | " | 18 | " |
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb index 4d702dc56f..73c2e0915f 100644 --- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb | |||
@@ -14,7 +14,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git;protocol=http \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | DEPENDS += "kmod" | 16 | DEPENDS += "kmod" |
17 | DEPENDS_append_libc-musl = " fts" | 17 | DEPENDS:append:libc-musl = " fts" |
18 | 18 | ||
19 | inherit bash-completion pkgconfig | 19 | inherit bash-completion pkgconfig |
20 | 20 | ||
@@ -37,7 +37,7 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/ | |||
37 | 37 | ||
38 | EXTRA_OEMAKE += 'libdir=${prefix}/lib LDLIBS="${LDLIBS}"' | 38 | EXTRA_OEMAKE += 'libdir=${prefix}/lib LDLIBS="${LDLIBS}"' |
39 | 39 | ||
40 | LDLIBS_append_libc-musl = " -lfts" | 40 | LDLIBS:append:libc-musl = " -lfts" |
41 | 41 | ||
42 | do_configure() { | 42 | do_configure() { |
43 | ./configure ${EXTRA_OECONF} | 43 | ./configure ${EXTRA_OECONF} |
@@ -50,18 +50,18 @@ do_install() { | |||
50 | chown -R root:root ${D}/${prefix}/lib/dracut/modules.d | 50 | chown -R root:root ${D}/${prefix}/lib/dracut/modules.d |
51 | } | 51 | } |
52 | 52 | ||
53 | FILES_${PN} += "${prefix}/lib/kernel \ | 53 | FILES:${PN} += "${prefix}/lib/kernel \ |
54 | ${prefix}/lib/dracut \ | 54 | ${prefix}/lib/dracut \ |
55 | ${systemd_unitdir} \ | 55 | ${systemd_unitdir} \ |
56 | " | 56 | " |
57 | FILES_${PN}-dbg += "${prefix}/lib/dracut/.debug" | 57 | FILES:${PN}-dbg += "${prefix}/lib/dracut/.debug" |
58 | 58 | ||
59 | CONFFILES_${PN} += "${sysconfdir}/dracut.conf" | 59 | CONFFILES:${PN} += "${sysconfdir}/dracut.conf" |
60 | 60 | ||
61 | RDEPENDS_${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" | 61 | RDEPENDS:${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash ldd" |
62 | 62 | ||
63 | # This could be optimized a bit, but let's avoid non-booting systems :) | 63 | # This could be optimized a bit, but let's avoid non-booting systems :) |
64 | RRECOMMENDS_${PN} = " \ | 64 | RRECOMMENDS:${PN} = " \ |
65 | kernel-modules \ | 65 | kernel-modules \ |
66 | busybox \ | 66 | busybox \ |
67 | coreutils \ | 67 | coreutils \ |
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb index 7403cf64f7..c4d74109cd 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb | |||
@@ -10,7 +10,7 @@ LICENSE = "GPLv2+" | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" |
11 | 11 | ||
12 | DEPENDS = "popt util-linux" | 12 | DEPENDS = "popt util-linux" |
13 | DEPENDS_append_libc-musl = " libexecinfo" | 13 | DEPENDS:append:libc-musl = " libexecinfo" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | SRCREV = "79c5cfa02c567efdc5bb18cdd584789e2e35aa23" | 16 | SRCREV = "79c5cfa02c567efdc5bb18cdd584789e2e35aa23" |
@@ -21,13 +21,13 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https; \ | |||
21 | file://0002-include-paths.h-for-_PATH_MOUNTED.patch \ | 21 | file://0002-include-paths.h-for-_PATH_MOUNTED.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | RDEPENDS_${PN} += "dracut" | 24 | RDEPENDS:${PN} += "dracut" |
25 | 25 | ||
26 | inherit autotools-brokensep ptest | 26 | inherit autotools-brokensep ptest |
27 | 27 | ||
28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}'" | 28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}'" |
29 | 29 | ||
30 | LIBS_libc-musl = "-lexecinfo" | 30 | LIBS:libc-musl = "-lexecinfo" |
31 | LIBS ?= "" | 31 | LIBS ?= "" |
32 | do_install_ptest() { | 32 | do_install_ptest() { |
33 | install -d ${D}${PTEST_PATH} | 33 | install -d ${D}${PTEST_PATH} |
@@ -35,7 +35,7 @@ do_install_ptest() { | |||
35 | sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh | 35 | sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh |
36 | } | 36 | } |
37 | 37 | ||
38 | RDEPENDS_${PN} += "bash" | 38 | RDEPENDS:${PN} += "bash" |
39 | RDEPENDS_${PN}-ptest = "util-linux-getopt bash" | 39 | RDEPENDS:${PN}-ptest = "util-linux-getopt bash" |
40 | 40 | ||
41 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | 41 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' |
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb index 7248147a5c..38075e3907 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb | |||
@@ -10,7 +10,7 @@ LICENSE = "GPLv2+" | |||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" |
11 | 11 | ||
12 | DEPENDS = "popt util-linux" | 12 | DEPENDS = "popt util-linux" |
13 | DEPENDS_append_libc-musl = " libexecinfo" | 13 | DEPENDS:append:libc-musl = " libexecinfo" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | SRCREV = "a1d2ae93408c3408e672d7eba4550fdf27fb0201" | 16 | SRCREV = "a1d2ae93408c3408e672d7eba4550fdf27fb0201" |
@@ -21,13 +21,13 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https; \ | |||
21 | file://0002-include-paths.h-for-_PATH_MOUNTED.patch \ | 21 | file://0002-include-paths.h-for-_PATH_MOUNTED.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | RDEPENDS_${PN} += "dracut" | 24 | RDEPENDS:${PN} += "dracut" |
25 | 25 | ||
26 | inherit autotools-brokensep ptest | 26 | inherit autotools-brokensep ptest |
27 | 27 | ||
28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}' 'PREFIX'=${@bb.utils.contains('DISTRO_FEATURES','usrmerge','/usr','',d)}" | 28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}' 'PREFIX'=${@bb.utils.contains('DISTRO_FEATURES','usrmerge','/usr','',d)}" |
29 | 29 | ||
30 | LIBS_libc-musl = "-lexecinfo" | 30 | LIBS:libc-musl = "-lexecinfo" |
31 | LIBS ?= "" | 31 | LIBS ?= "" |
32 | do_install_ptest() { | 32 | do_install_ptest() { |
33 | install -d ${D}${PTEST_PATH} | 33 | install -d ${D}${PTEST_PATH} |
@@ -35,7 +35,7 @@ do_install_ptest() { | |||
35 | sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh | 35 | sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh |
36 | } | 36 | } |
37 | 37 | ||
38 | RDEPENDS_${PN} += "bash" | 38 | RDEPENDS:${PN} += "bash" |
39 | RDEPENDS_${PN}-ptest = "util-linux-getopt bash" | 39 | RDEPENDS:${PN}-ptest = "util-linux-getopt bash" |
40 | 40 | ||
41 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | 41 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.8.bb b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.8.bb index c835fd647a..0de580781b 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.8.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc-static-utils_2.0.8.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "klibc utils for initramfs statically compiled" | |||
3 | FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:" | 3 | FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:" |
4 | 4 | ||
5 | PACKAGES = "${PN}" | 5 | PACKAGES = "${PN}" |
6 | FILES_${PN} = "" | 6 | FILES:${PN} = "" |
7 | 7 | ||
8 | KLIBC_UTILS_VARIANT = "static" | 8 | KLIBC_UTILS_VARIANT = "static" |
9 | KLIBC_UTILS_PKGNAME = "klibc-static-utils" | 9 | KLIBC_UTILS_PKGNAME = "klibc-static-utils" |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc index 00cb86d3e6..4e9fea88d1 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils.inc | |||
@@ -50,7 +50,7 @@ EXTRA_KLIBC_DEPS = "${@oe.utils.conditional('KLIBC_UTILS_VARIANT', 'shared', '${ | |||
50 | 50 | ||
51 | PACKAGES_DYNAMIC += "^${KLIBC_UTILS_PKGNAME}-.*" | 51 | PACKAGES_DYNAMIC += "^${KLIBC_UTILS_PKGNAME}-.*" |
52 | 52 | ||
53 | python populate_packages_prepend () { | 53 | python populate_packages:prepend () { |
54 | base_bin_dir = d.expand('${base_bindir}') | 54 | base_bin_dir = d.expand('${base_bindir}') |
55 | do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='${EXTRA_KLIBC_DEPS}', allow_links=True, allow_dirs=True) | 55 | do_split_packages(d, base_bin_dir, '(.*)', '${KLIBC_UTILS_PKGNAME}-%s', 'Klibc util for %s', extra_depends='${EXTRA_KLIBC_DEPS}', allow_links=True, allow_dirs=True) |
56 | base_sbin_dir = d.expand('${base_sbindir}') | 56 | base_sbin_dir = d.expand('${base_sbindir}') |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.8.bb b/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.8.bb index 06e71cb7b8..2f26093cbe 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.8.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc-utils_2.0.8.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "klibc utils for initramfs" | |||
3 | FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:" | 3 | FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:" |
4 | 4 | ||
5 | PACKAGES = "${PN}" | 5 | PACKAGES = "${PN}" |
6 | FILES_${PN} = "" | 6 | FILES:${PN} = "" |
7 | 7 | ||
8 | KLIBC_UTILS_VARIANT = "shared" | 8 | KLIBC_UTILS_VARIANT = "shared" |
9 | KLIBC_UTILS_PKGNAME = "klibc-utils" | 9 | KLIBC_UTILS_PKGNAME = "klibc-utils" |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index 41147eb2da..1a188a6faf 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc.inc +++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc | |||
@@ -25,7 +25,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/libs/klibc/2.0/klibc-${PV}.tar.xz \ | |||
25 | 25 | ||
26 | ARMPATCHES ?= "" | 26 | ARMPATCHES ?= "" |
27 | 27 | ||
28 | ARMPATCHES_arm = " \ | 28 | ARMPATCHES:arm = " \ |
29 | file://armv4-fix-v4bx.patch \ | 29 | file://armv4-fix-v4bx.patch \ |
30 | " | 30 | " |
31 | SRC_URI[sha256sum] = "4e48f1398cfe3ce0b6df55ce6e70acf54fc8488e3aea3fb3610ee1622d9cb436" | 31 | SRC_URI[sha256sum] = "4e48f1398cfe3ce0b6df55ce6e70acf54fc8488e3aea3fb3610ee1622d9cb436" |
@@ -33,8 +33,8 @@ SRC_URI[sha256sum] = "4e48f1398cfe3ce0b6df55ce6e70acf54fc8488e3aea3fb3610ee1622d | |||
33 | S = "${WORKDIR}/klibc-${PV}" | 33 | S = "${WORKDIR}/klibc-${PV}" |
34 | 34 | ||
35 | OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" | 35 | OPTFLAGS = "${TUNE_CCARGS} -Os -fcommon" |
36 | OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp" | 36 | OPTFLAGS:append:toolchain-clang = " -fno-builtin-bcmp" |
37 | OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as" | 37 | OPTFLAGS:append:toolchain-clang:mipsarch = " -no-integrated-as" |
38 | 38 | ||
39 | PARALLEL_MAKE = "" | 39 | PARALLEL_MAKE = "" |
40 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ | 40 | EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ |
@@ -57,22 +57,22 @@ do_configure () { | |||
57 | ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux | 57 | ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux |
58 | } | 58 | } |
59 | 59 | ||
60 | do_compile_prepend_toolchain-clang() { | 60 | do_compile:prepend:toolchain-clang() { |
61 | sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile | 61 | sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile |
62 | } | 62 | } |
63 | 63 | ||
64 | INHIBIT_PACKAGE_STRIP = "1" | 64 | INHIBIT_PACKAGE_STRIP = "1" |
65 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 65 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
66 | INSANE_SKIP_${PN} = "already-stripped" | 66 | INSANE_SKIP:${PN} = "already-stripped" |
67 | INSANE_SKIP_libklibc-dev = "dev-elf" | 67 | INSANE_SKIP:libklibc-dev = "dev-elf" |
68 | KLIBC_ARCH = "${TARGET_ARCH}" | 68 | KLIBC_ARCH = "${TARGET_ARCH}" |
69 | KLIBC_ARCH_aarch64 = "arm64" | 69 | KLIBC_ARCH:aarch64 = "arm64" |
70 | KLIBC_ARCH_armeb = "arm" | 70 | KLIBC_ARCH:armeb = "arm" |
71 | KLIBC_ARCH_mipsel = "mips" | 71 | KLIBC_ARCH:mipsel = "mips" |
72 | KLIBC_ARCH_mips64el = "mips64" | 72 | KLIBC_ARCH:mips64el = "mips64" |
73 | KLIBC_ARCH_x86 = "i386" | 73 | KLIBC_ARCH:x86 = "i386" |
74 | KLIBC_ARCH_x86-64 = "x86_64" | 74 | KLIBC_ARCH:x86-64 = "x86_64" |
75 | KLIBC_ARCH_powerpc = "ppc" | 75 | KLIBC_ARCH:powerpc = "ppc" |
76 | KLIBC_ARCH_powerpc64 = "ppc64" | 76 | KLIBC_ARCH:powerpc64 = "ppc64" |
77 | KLIBC_ARCH_powerpc64le = "ppc64" | 77 | KLIBC_ARCH:powerpc64le = "ppc64" |
78 | THIS_LIBKLIBC = "libklibc (= ${PV}-${PR})" | 78 | THIS_LIBKLIBC = "libklibc (= ${PV}-${PR})" |
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc_2.0.8.bb b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.8.bb index 7df0b0a3d5..8dda9a8cdc 100644 --- a/meta-initramfs/recipes-devtools/klibc/klibc_2.0.8.bb +++ b/meta-initramfs/recipes-devtools/klibc/klibc_2.0.8.bb | |||
@@ -16,9 +16,9 @@ do_install() { | |||
16 | 16 | ||
17 | PACKAGES = "libklibc libklibc-staticdev libklibc-dev" | 17 | PACKAGES = "libklibc libklibc-staticdev libklibc-dev" |
18 | 18 | ||
19 | FILES_libklibc = "${libdir}/klibc-*.so" | 19 | FILES:libklibc = "${libdir}/klibc-*.so" |
20 | FILES_libklibc-staticdev = "${libdir}/klibc/lib/libc.a" | 20 | FILES:libklibc-staticdev = "${libdir}/klibc/lib/libc.a" |
21 | FILES_libklibc-dev = "${libdir}/klibc.so \ | 21 | FILES:libklibc-dev = "${libdir}/klibc.so \ |
22 | ${libdir}/klibc/lib/* \ | 22 | ${libdir}/klibc/lib/* \ |
23 | ${libdir}/klibc/include/* \ | 23 | ${libdir}/klibc/include/* \ |
24 | " | 24 | " |
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb index 5f43b0229a..4d944a1528 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_2.0.2.bb | |||
@@ -38,16 +38,16 @@ PACKAGES =+ "mtdinfo-klibc ubiattach-klibc ubiblock-klibc ubicrc32-klibc ubideta | |||
38 | ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \ | 38 | ubiformat-klibc ubimkvol-klibc ubinfo-klibc ubinize-klibc ubirename-klibc \ |
39 | ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc" | 39 | ubirmvol-klibc ubirsvol-klibc ubiupdatevol-klibc" |
40 | 40 | ||
41 | FILES_mtdinfo-klibc = "${sbindir}/mtdinfo" | 41 | FILES:mtdinfo-klibc = "${sbindir}/mtdinfo" |
42 | FILES_ubiattach-klibc = "${sbindir}/ubiattach" | 42 | FILES:ubiattach-klibc = "${sbindir}/ubiattach" |
43 | FILES_ubiblock-klibc = "${sbindir}/ubiblock" | 43 | FILES:ubiblock-klibc = "${sbindir}/ubiblock" |
44 | FILES_ubicrc32-klibc = "${sbindir}/ubicrc32" | 44 | FILES:ubicrc32-klibc = "${sbindir}/ubicrc32" |
45 | FILES_ubidetach-klibc = "${sbindir}/ubidetach" | 45 | FILES:ubidetach-klibc = "${sbindir}/ubidetach" |
46 | FILES_ubiformat-klibc = "${sbindir}/ubiformat" | 46 | FILES:ubiformat-klibc = "${sbindir}/ubiformat" |
47 | FILES_ubimkvol-klibc = "${sbindir}/ubimkvol" | 47 | FILES:ubimkvol-klibc = "${sbindir}/ubimkvol" |
48 | FILES_ubinfo-klibc = "${sbindir}/ubinfo" | 48 | FILES:ubinfo-klibc = "${sbindir}/ubinfo" |
49 | FILES_ubinize-klibc = "${sbindir}/ubinize" | 49 | FILES:ubinize-klibc = "${sbindir}/ubinize" |
50 | FILES_ubirename-klibc = "${sbindir}/ubirename" | 50 | FILES:ubirename-klibc = "${sbindir}/ubirename" |
51 | FILES_ubirmvol-klibc = "${sbindir}/ubirmvol" | 51 | FILES:ubirmvol-klibc = "${sbindir}/ubirmvol" |
52 | FILES_ubirsvol-klibc = "${sbindir}/ubirsvol" | 52 | FILES:ubirsvol-klibc = "${sbindir}/ubirsvol" |
53 | FILES_ubiupdatevol-klibc = "${sbindir}/ubiupdatevol" | 53 | FILES:ubiupdatevol-klibc = "${sbindir}/ubiupdatevol" |
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb index 656162fb1a..393f04fb31 100644 --- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb +++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb | |||
@@ -43,22 +43,22 @@ FROM_OE_CORE = "file://arm_crashdump-fix-buffer-align.patch \ | |||
43 | 43 | ||
44 | SRC_URI += "${BUILD_PATCHES} ${KLIBC_PATCHES} ${WARNING_FIXES} ${FROM_OE_CORE}" | 44 | SRC_URI += "${BUILD_PATCHES} ${KLIBC_PATCHES} ${WARNING_FIXES} ${FROM_OE_CORE}" |
45 | 45 | ||
46 | SRC_URI_append_arm = " file://arm_crashdump.patch" | 46 | SRC_URI:append:arm = " file://arm_crashdump.patch" |
47 | 47 | ||
48 | SRC_URI_append_mips = " file://140-mips_disable_devicetree_support.patch" | 48 | SRC_URI:append:mips = " file://140-mips_disable_devicetree_support.patch" |
49 | SRC_URI_append_mipsel = " file://140-mips_disable_devicetree_support.patch" | 49 | SRC_URI:append:mipsel = " file://140-mips_disable_devicetree_support.patch" |
50 | 50 | ||
51 | SRC_URI_append_x86 = " file://x86_sys_io.patch file://x86_basename.patch \ | 51 | SRC_URI:append:x86 = " file://x86_sys_io.patch file://x86_basename.patch \ |
52 | file://x86_vfscanf.patch file://x86_kexec_test.patch" | 52 | file://x86_vfscanf.patch file://x86_kexec_test.patch" |
53 | 53 | ||
54 | SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \ | 54 | SRC_URI:append:x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \ |
55 | file://x86_vfscanf.patch file://x86_kexec_test.patch" | 55 | file://x86_vfscanf.patch file://x86_kexec_test.patch" |
56 | 56 | ||
57 | SRC_URI_append_aarch64 = " file://arm64_kexec-image-header.h-add-missing-le64toh.patch \ | 57 | SRC_URI:append:aarch64 = " file://arm64_kexec-image-header.h-add-missing-le64toh.patch \ |
58 | file://arm64-crashdump-arm64.c-fix-warning.patch \ | 58 | file://arm64-crashdump-arm64.c-fix-warning.patch \ |
59 | file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch" | 59 | file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch" |
60 | 60 | ||
61 | SRC_URI_append_powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch" | 61 | SRC_URI:append:powerpc = " file://powerpc-purgatory-Makefile-remove-unknown-flags.patch" |
62 | 62 | ||
63 | S = "${WORKDIR}/git" | 63 | S = "${WORKDIR}/git" |
64 | 64 | ||
@@ -69,7 +69,7 @@ EXTRA_OECONF += "--without-zlib --without-lzma --without-xen" | |||
69 | CFLAGS += "-O2 -I${STAGING_DIR_HOST}${libdir}/klibc/include -I${S}/purgatory/include \ | 69 | CFLAGS += "-O2 -I${STAGING_DIR_HOST}${libdir}/klibc/include -I${S}/purgatory/include \ |
70 | -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits${SITEINFO_BITS}" | 70 | -I${STAGING_DIR_HOST}${libdir}/klibc/include/bits${SITEINFO_BITS}" |
71 | 71 | ||
72 | do_compile_prepend() { | 72 | do_compile:prepend() { |
73 | # Remove the prepackaged config.h from the source tree as it overrides | 73 | # Remove the prepackaged config.h from the source tree as it overrides |
74 | # the same file generated by configure and placed in the build tree | 74 | # the same file generated by configure and placed in the build tree |
75 | rm -f ${S}/include/config.h | 75 | rm -f ${S}/include/config.h |
@@ -86,9 +86,9 @@ do_compile_prepend() { | |||
86 | 86 | ||
87 | PACKAGES =+ "kexec-klibc vmcore-dmesg-klibc" | 87 | PACKAGES =+ "kexec-klibc vmcore-dmesg-klibc" |
88 | 88 | ||
89 | FILES_kexec-klibc = "${sbindir}/kexec" | 89 | FILES:kexec-klibc = "${sbindir}/kexec" |
90 | FILES_vmcore-dmesg-klibc = "${sbindir}/vmcore-dmesg" | 90 | FILES:vmcore-dmesg-klibc = "${sbindir}/vmcore-dmesg" |
91 | 91 | ||
92 | INSANE_SKIP_${PN} = "arch" | 92 | INSANE_SKIP:${PN} = "arch" |
93 | 93 | ||
94 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)' | 94 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*|powerpc.*|mips.*)-(linux|freebsd.*)' |