package/opencv: fix build failure on x86
[buildroot-gz.git] / package / jpeg / Config.in
blobf337aeb9560fa0662d72f4baa5a058bfde72e75a
1 config BR2_PACKAGE_JPEG
2         bool "jpeg support"
3         help
4           Select the desired JPEG library provider.
6 if BR2_PACKAGE_JPEG
8 choice
9         prompt "jpeg variant"
10         default BR2_PACKAGE_JPEG_TURBO if (BR2_X86_CPU_HAS_MMX || BR2_ARM_CPU_HAS_NEON)
11         help
12           Select the older stable version, or the newer developer version
14 config BR2_PACKAGE_LIBJPEG
15         bool "jpeg"
16         select BR2_PACKAGE_HAS_JPEG
17         help
18           The ubiquitous C library for manipulating JPEG images.
20           http://www.ijg.org/
22 config BR2_PACKAGE_JPEG_TURBO
23         bool "jpeg-turbo"
24         select BR2_PACKAGE_HAS_JPEG
25         help
26           Libjpeg-turbo is a derivative of libjpeg that uses SIMD
27           instructions (MMX, SSE2, NEON) to accelerate baseline JPEG
28           compression and decompression on x86, x86-64, and ARM
29           systems.
31           http://www.libjpeg-turbo.org
33 endchoice
35 config BR2_PACKAGE_HAS_JPEG
36         bool
38 config BR2_PACKAGE_PROVIDES_JPEG
39         string
40         default "libjpeg"    if BR2_PACKAGE_LIBJPEG
41         default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
43 endif