diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-29 23:59:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:02:10 +0100 |
commit | 80747190ccce6628ce8815cf856f6ab867a00b5d (patch) | |
tree | 07be151fe85a5cf4207b8606fbe566e339e105e5 /recipes-extended/gzip/gzip.inc | |
parent | 27eafbb395fd4f607249b2e57085012e40283926 (diff) | |
download | meta-gplv2-80747190ccce6628ce8815cf856f6ab867a00b5d.tar.gz |
meta-gplv2: Convert to new override syntax
This converts the layer to the new override syntax. This was done using
<oe-core>/scripts/contrib/convert-overrides.py <this-layer>
with no manual fixes.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-extended/gzip/gzip.inc')
-rw-r--r-- | recipes-extended/gzip/gzip.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-extended/gzip/gzip.inc b/recipes-extended/gzip/gzip.inc index 04f8f95..15fd665 100644 --- a/recipes-extended/gzip/gzip.inc +++ b/recipes-extended/gzip/gzip.inc | |||
@@ -8,10 +8,10 @@ SECTION = "console/utils" | |||
8 | inherit autotools texinfo | 8 | inherit autotools texinfo |
9 | export DEFS="NO_ASM" | 9 | export DEFS="NO_ASM" |
10 | 10 | ||
11 | EXTRA_OEMAKE_class-target = "GREP=${base_bindir}/grep" | 11 | EXTRA_OEMAKE:class-target = "GREP=${base_bindir}/grep" |
12 | EXTRA_OECONF_append_libc-musl = " gl_cv_func_fflush_stdin=yes " | 12 | EXTRA_OECONF:append:libc-musl = " gl_cv_func_fflush_stdin=yes " |
13 | 13 | ||
14 | do_install_append () { | 14 | do_install:append () { |
15 | if [ "${base_bindir}" != "${bindir}" ]; then | 15 | if [ "${base_bindir}" != "${bindir}" ]; then |
16 | # Rename and move files into /bin (FHS), which is typical place for gzip | 16 | # Rename and move files into /bin (FHS), which is typical place for gzip |
17 | install -d ${D}${base_bindir} | 17 | install -d ${D}${base_bindir} |
@@ -25,7 +25,7 @@ do_install_append () { | |||
25 | inherit update-alternatives | 25 | inherit update-alternatives |
26 | 26 | ||
27 | ALTERNATIVE_PRIORITY = "100" | 27 | ALTERNATIVE_PRIORITY = "100" |
28 | ALTERNATIVE_${PN} = "gunzip gzip zcat" | 28 | ALTERNATIVE:${PN} = "gunzip gzip zcat" |
29 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" | 29 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" |
30 | ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" | 30 | ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" |
31 | ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" | 31 | ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" |