diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-02 21:41:17 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:28 +0000 |
commit | abdfacb997dd26c7bd0877738db72c695ec785bc (patch) | |
tree | 703fea20e1f99d73e1e8289a3255dd81588d430e /meta/recipes-devtools/apt/apt_1.0.10.1.bb | |
parent | ec187d35f4a3ff85bdc47e76b33f43a56ac19aaa (diff) | |
download | poky-abdfacb997dd26c7bd0877738db72c695ec785bc.tar.gz |
apt: Add support for building for musl targets
Turn bzip2 support into a PACKAGECONFIG
zlibs is a must have and therefore add it to DEPENDS will make the build
consistent
(From OE-Core rev: ded03dab901647a7388d219a3a228d4f4f4298e8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/apt/apt_1.0.10.1.bb')
-rw-r--r-- | meta/recipes-devtools/apt/apt_1.0.10.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/apt/apt_1.0.10.1.bb b/meta/recipes-devtools/apt/apt_1.0.10.1.bb index bf77e2a301..85c0d56159 100644 --- a/meta/recipes-devtools/apt/apt_1.0.10.1.bb +++ b/meta/recipes-devtools/apt/apt_1.0.10.1.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DEPENDS = "curl db" | 1 | DEPENDS = "curl db zlib" |
2 | RDEPENDS_${PN} = "dpkg bash debianutils" | 2 | RDEPENDS_${PN} = "dpkg bash debianutils" |
3 | require apt.inc | 3 | require apt.inc |
4 | 4 | ||
@@ -6,6 +6,7 @@ require apt-package.inc | |||
6 | 6 | ||
7 | PACKAGECONFIG ??= "lzma" | 7 | PACKAGECONFIG ??= "lzma" |
8 | PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz" | 8 | PACKAGECONFIG[lzma] = "ac_cv_lib_lzma_lzma_easy_encoder=yes,ac_cv_lib_lzma_lzma_easy_encoder=no,xz" |
9 | PACKAGECONFIG[bz2] = "ac_cv_lib_bz2_BZ2_bzopen=yes,ac_cv_lib_bz2_BZ2_bzopen=no,bzip2" | ||
9 | 10 | ||
10 | FILES_${PN} += "${bindir}/apt-key" | 11 | FILES_${PN} += "${bindir}/apt-key" |
11 | apt-manpages += "doc/apt-key.8" | 12 | apt-manpages += "doc/apt-key.8" |