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-support/libcap | |
| 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-support/libcap')
| -rw-r--r-- | meta/recipes-support/libcap/libcap_2.51.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-support/libcap/libcap_2.51.bb b/meta/recipes-support/libcap/libcap_2.51.bb index a43dca9f13..3e653e371e 100644 --- a/meta/recipes-support/libcap/libcap_2.51.bb +++ b/meta/recipes-support/libcap/libcap_2.51.bb | |||
| @@ -21,7 +21,7 @@ UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs | |||
| 21 | inherit lib_package | 21 | inherit lib_package |
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
| 24 | PACKAGECONFIG_class-native ??= "" | 24 | PACKAGECONFIG:class-native ??= "" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG[pam] = "PAM_CAP=yes,PAM_CAP=no,libpam" | 26 | PACKAGECONFIG[pam] = "PAM_CAP=yes,PAM_CAP=no,libpam" |
| 27 | 27 | ||
| @@ -33,7 +33,7 @@ EXTRA_OEMAKE = " \ | |||
| 33 | BUILD_GPERF=yes \ | 33 | BUILD_GPERF=yes \ |
| 34 | " | 34 | " |
| 35 | 35 | ||
| 36 | EXTRA_OEMAKE_append_class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}" | 36 | EXTRA_OEMAKE:append:class-target = " SYSTEM_HEADERS=${STAGING_INCDIR}" |
| 37 | 37 | ||
| 38 | do_compile() { | 38 | do_compile() { |
| 39 | unset CFLAGS BUILD_CFLAGS | 39 | unset CFLAGS BUILD_CFLAGS |
| @@ -54,7 +54,7 @@ do_install() { | |||
| 54 | SBINDIR="${sbindir}" | 54 | SBINDIR="${sbindir}" |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | do_install_append() { | 57 | do_install:append() { |
| 58 | # Move the library to base_libdir | 58 | # Move the library to base_libdir |
| 59 | install -d ${D}${base_libdir} | 59 | install -d ${D}${base_libdir} |
| 60 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then | 60 | if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then |
| @@ -65,9 +65,9 @@ do_install_append() { | |||
| 65 | fi | 65 | fi |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | FILES_${PN}-dev += "${base_libdir}/*.so" | 68 | FILES:${PN}-dev += "${base_libdir}/*.so" |
| 69 | 69 | ||
| 70 | # pam files | 70 | # pam files |
| 71 | FILES_${PN} += "${base_libdir}/security/*.so" | 71 | FILES:${PN} += "${base_libdir}/security/*.so" |
| 72 | 72 | ||
| 73 | BBCLASSEXTEND = "native nativesdk" | 73 | BBCLASSEXTEND = "native nativesdk" |
