bzip2: extend alternatives list to include bzip2

bzip2 could also be provided by busybox. So extend the alternatives
list to include bzip2.

(From OE-Core rev: 832ce25879d5e3df2d443bdf4362bf4af1377e87)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chen Qi
2018-11-23 10:16:25 +08:00
committed by Richard Purdie
parent 48e25b57f8
commit a3e7ab0168

View File

@@ -29,7 +29,7 @@ CFLAGS_append = " -fPIC -fpic -Winline -fno-strength-reduce -D_FILE_OFFSET_BITS=
inherit autotools update-alternatives ptest relative_symlinks
ALTERNATIVE_PRIORITY = "100"
ALTERNATIVE_${PN} = "bunzip2 bzcat"
ALTERNATIVE_${PN} = "bunzip2 bzcat bzip2"
#install binaries to bzip2-native under sysroot for replacement-native
EXTRA_OECONF_append_class-native = " --bindir=${STAGING_BINDIR_NATIVE}/${PN}"