diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
| commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
| tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/mdadm | |
| parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
| download | poky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz | |
Convert to new override syntax
This is the result of automated script conversion:
scripts/contrib/convert-overrides.py <oe-core directory>
converting the metadata to use ":" as the override character instead of "_".
(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm')
| -rw-r--r-- | meta/recipes-extended/mdadm/mdadm_4.1.bb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb index bb77759cf9..062797afe6 100644 --- a/meta/recipes-extended/mdadm/mdadm_4.1.bb +++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb | |||
| @@ -31,23 +31,23 @@ SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1 | |||
| 31 | 31 | ||
| 32 | inherit autotools-brokensep ptest systemd | 32 | inherit autotools-brokensep ptest systemd |
| 33 | 33 | ||
| 34 | SYSTEMD_SERVICE_${PN} = "mdmonitor.service" | 34 | SYSTEMD_SERVICE:${PN} = "mdmonitor.service" |
| 35 | SYSTEMD_AUTO_ENABLE = "disable" | 35 | SYSTEMD_AUTO_ENABLE = "disable" |
| 36 | 36 | ||
| 37 | CFLAGS_append_toolchain-clang = " -Wno-error=address-of-packed-member" | 37 | CFLAGS:append:toolchain-clang = " -Wno-error=address-of-packed-member" |
| 38 | 38 | ||
| 39 | # PPC64 and MIPS64 uses long long for u64 in the kernel, but powerpc's asm/types.h | 39 | # PPC64 and MIPS64 uses long long for u64 in the kernel, but powerpc's asm/types.h |
| 40 | # prevents 64-bit userland from seeing this definition, instead defaulting | 40 | # prevents 64-bit userland from seeing this definition, instead defaulting |
| 41 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get | 41 | # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get |
| 42 | # int-ll64.h included | 42 | # int-ll64.h included |
| 43 | CFLAGS_append_powerpc64 = ' -D__SANE_USERSPACE_TYPES__' | 43 | CFLAGS:append:powerpc64 = ' -D__SANE_USERSPACE_TYPES__' |
| 44 | CFLAGS_append_mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' | 44 | CFLAGS:append:mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' |
| 45 | CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' | 45 | CFLAGS:append:mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' |
| 46 | 46 | ||
| 47 | EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}" SYSTEMD_DIR=${systemd_unitdir}/system \ | 47 | EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}" SYSTEMD_DIR=${systemd_unitdir}/system \ |
| 48 | BINDIR="${base_sbindir}" UDEVDIR="${nonarch_base_libdir}/udev"' | 48 | BINDIR="${base_sbindir}" UDEVDIR="${nonarch_base_libdir}/udev"' |
| 49 | 49 | ||
| 50 | DEBUG_OPTIMIZATION_append = " -Wno-error" | 50 | DEBUG_OPTIMIZATION:append = " -Wno-error" |
| 51 | 51 | ||
| 52 | do_compile() { | 52 | do_compile() { |
| 53 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" | 53 | oe_runmake SYSROOT="${STAGING_DIR_TARGET}" |
| @@ -58,14 +58,14 @@ do_install() { | |||
| 58 | autotools_do_install | 58 | autotools_do_install |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | do_install_append() { | 61 | do_install:append() { |
| 62 | install -d ${D}/${sysconfdir}/ | 62 | install -d ${D}/${sysconfdir}/ |
| 63 | install -m 644 ${S}/mdadm.conf-example ${D}${sysconfdir}/mdadm.conf | 63 | install -m 644 ${S}/mdadm.conf-example ${D}${sysconfdir}/mdadm.conf |
| 64 | install -d ${D}/${sysconfdir}/init.d | 64 | install -d ${D}/${sysconfdir}/init.d |
| 65 | install -m 755 ${WORKDIR}/mdadm.init ${D}${sysconfdir}/init.d/mdmonitor | 65 | install -m 755 ${WORKDIR}/mdadm.init ${D}${sysconfdir}/init.d/mdmonitor |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | do_install_append() { | 68 | do_install:append() { |
| 69 | oe_runmake install-systemd DESTDIR=${D} | 69 | oe_runmake install-systemd DESTDIR=${D} |
| 70 | } | 70 | } |
| 71 | 71 | ||
| @@ -93,8 +93,8 @@ do_install_ptest() { | |||
| 93 | done | 93 | done |
| 94 | } | 94 | } |
| 95 | 95 | ||
| 96 | RDEPENDS_${PN}-ptest += "bash e2fsprogs-mke2fs" | 96 | RDEPENDS:${PN}-ptest += "bash e2fsprogs-mke2fs" |
| 97 | RRECOMMENDS_${PN}-ptest += " \ | 97 | RRECOMMENDS:${PN}-ptest += " \ |
| 98 | coreutils \ | 98 | coreutils \ |
| 99 | util-linux \ | 99 | util-linux \ |
| 100 | kernel-module-loop \ | 100 | kernel-module-loop \ |
| @@ -105,4 +105,4 @@ RRECOMMENDS_${PN}-ptest += " \ | |||
| 105 | kernel-module-raid456 \ | 105 | kernel-module-raid456 \ |
| 106 | " | 106 | " |
| 107 | 107 | ||
| 108 | FILES_${PN} += "${systemd_unitdir}/*" | 108 | FILES:${PN} += "${systemd_unitdir}/*" |
