aboutsummaryrefslogtreecommitdiff
path: root/package/jpeg
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-07-29 22:20:01 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-04 00:13:37 +0200
commit3b67e8e664d4087c3cf6573bd327ae5c4a196d67 (patch)
tree4e87f3393002fadba49a009dbca0f4b2a3101dd3 /package/jpeg
parentfa037acee09f8c74be2f4eb047a1ac1ea7f677f0 (diff)
downloadbuildroot-3b67e8e664d4087c3cf6573bd327ae5c4a196d67.tar.gz
buildroot-3b67e8e664d4087c3cf6573bd327ae5c4a196d67.tar.bz2
core: allow br2-external trees to provide libjpeg
Similar to toolchains, we now offer a way for br2-external trees to provide their libjpeg implementation, which gets included in the jpeg choice. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/jpeg')
-rw-r--r--package/jpeg/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/jpeg/Config.in b/package/jpeg/Config.in
index a4a63cc7dc..3d0fea83b1 100644
--- a/package/jpeg/Config.in
+++ b/package/jpeg/Config.in
@@ -38,6 +38,9 @@ config BR2_PACKAGE_JPEG_TURBO
http://www.libjpeg-turbo.org
+# libjpeg from br2-external trees, if any
+source "$BR2_BASE_DIR/.br2-external.in.jpeg"
+
endchoice
config BR2_PACKAGE_HAS_JPEG