Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,61 +0,0 @@
|
||||
From e5e71c31d54562f9c67a8226f0bfc08ad24b81cf Mon Sep 17 00:00:00 2001
|
||||
From: Waldemar Brodkorb <wbx@openadk.org>
|
||||
Date: Tue, 1 Nov 2016 09:30:23 +0100
|
||||
Subject: [PATCH 2/4] From upstream master branch:
|
||||
https://github.com/Itseez/opencv/blob/master/modules/core/src/
|
||||
|
||||
Do not include sysctl.h targeting Linux systems.
|
||||
|
||||
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
||||
[Samuel Martin: convert patch to git diff, add cap_ffmpeg_impl.hpp fix]
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
modules/core/src/parallel.cpp | 2 +-
|
||||
modules/core/src/system.cpp | 2 +-
|
||||
modules/highgui/src/cap_ffmpeg_impl.hpp | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/modules/core/src/parallel.cpp b/modules/core/src/parallel.cpp
|
||||
index 4459a24..0374876 100644
|
||||
--- a/modules/core/src/parallel.cpp
|
||||
+++ b/modules/core/src/parallel.cpp
|
||||
@@ -56,7 +56,7 @@
|
||||
#include <sys/types.h>
|
||||
#if defined ANDROID
|
||||
#include <sys/sysconf.h>
|
||||
- #else
|
||||
+ #elif defined __APPLE__
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#endif
|
||||
diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp
|
||||
index 9a7b262..731f090 100644
|
||||
--- a/modules/core/src/system.cpp
|
||||
+++ b/modules/core/src/system.cpp
|
||||
@@ -163,7 +163,7 @@ std::wstring GetTempFileNameWinRT(std::wstring prefix)
|
||||
#include <sys/types.h>
|
||||
#if defined ANDROID
|
||||
#include <sys/sysconf.h>
|
||||
-#else
|
||||
+#elif defined __APPLE__
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#endif
|
||||
diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp
|
||||
index dc3e10d..23674ff 100644
|
||||
--- a/modules/highgui/src/cap_ffmpeg_impl.hpp
|
||||
+++ b/modules/highgui/src/cap_ffmpeg_impl.hpp
|
||||
@@ -126,9 +126,9 @@ extern "C" {
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
- #include <sys/sysctl.h>
|
||||
#include <sys/time.h>
|
||||
#if defined __APPLE__
|
||||
+ #include <sys/sysctl.h>
|
||||
#include <mach/clock.h>
|
||||
#include <mach/mach.h>
|
||||
#endif
|
||||
--
|
||||
2.10.2
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 126de0cd95418811e302996161e03195bf7e631a Mon Sep 17 00:00:00 2001
|
||||
From: neok-m4700 <neok-m4700@users.noreply.github.com>
|
||||
Date: Tue, 25 Jul 2017 10:25:20 +0200
|
||||
Subject: [PATCH] Update OpenCVCompilerOptions.cmake
|
||||
|
||||
misplaced else
|
||||
|
||||
[Upstream commit: https://github.com/opencv/opencv/commit/126de0cd95418811e302996161e03195bf7e631a]
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
cmake/OpenCVCompilerOptions.cmake | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/OpenCVCompilerOptions.cmake b/cmake/OpenCVCompilerOptions.cmake
|
||||
index 9b2a4e42e..7b079c5f9 100644
|
||||
--- a/cmake/OpenCVCompilerOptions.cmake
|
||||
+++ b/cmake/OpenCVCompilerOptions.cmake
|
||||
@@ -18,9 +18,9 @@ if(ENABLE_CCACHE AND NOT CMAKE_COMPILER_IS_CCACHE)
|
||||
message(STATUS "Unable to compile program with enabled ccache, reverting...")
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${__OLD_RULE_LAUNCH_COMPILE}")
|
||||
endif()
|
||||
- else()
|
||||
- message(STATUS "Looking for ccache - not found")
|
||||
endif()
|
||||
+ else()
|
||||
+ message(STATUS "Looking for ccache - not found")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
--
|
||||
2.15.0
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
From 18c868c47307b786d1bea729dccaad7f8d696cb7 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Tue, 6 Sep 2016 11:49:00 +0200
|
||||
Subject: [PATCH 1/1] types_c.h: Fix compiling VFP assembler code
|
||||
|
||||
Replace asm by __asm__ according to
|
||||
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html#Alternate-Keywords
|
||||
as suggested by Arnout Vandecappelle:
|
||||
http://lists.busybox.net/pipermail/buildroot/2016-September/171491.html
|
||||
|
||||
to fix build errors in ffmpeg with opencv2 support detected by
|
||||
buildroot autobuilders:
|
||||
http://autobuild.buildroot.net/results/c32/c32a21240a9933796ee850349a62ff3c2314f25c/build-end.log
|
||||
|
||||
Patch sent upstream: https://github.com/opencv/opencv/pull/7242
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
modules/core/include/opencv2/core/types_c.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules/core/include/opencv2/core/types_c.h b/modules/core/include/opencv2/core/types_c.h
|
||||
index c21cd2c..771715d 100644
|
||||
--- a/modules/core/include/opencv2/core/types_c.h
|
||||
+++ b/modules/core/include/opencv2/core/types_c.h
|
||||
@@ -318,7 +318,7 @@ enum {
|
||||
int res; \
|
||||
float temp; \
|
||||
(void)temp; \
|
||||
- asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
|
||||
+ __asm__(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
|
||||
return res;
|
||||
// 2. version for double
|
||||
#ifdef __clang__
|
||||
--
|
||||
2.9.3
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
menuconfig BR2_PACKAGE_OPENCV
|
||||
bool "opencv-2.4"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
OpenCV (Open Source Computer Vision) is a library of programming
|
||||
functions for real time computer vision.
|
||||
OpenCV (Open Source Computer Vision) is a library of
|
||||
programming functions for real time computer vision.
|
||||
|
||||
http://opencv.org/
|
||||
|
||||
@@ -51,14 +51,13 @@ config BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_GPU
|
||||
bool "gpu"
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
select BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
Include opencv_gpu module into the OpenCV build.
|
||||
|
||||
@@ -114,7 +113,6 @@ config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
config BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
bool "photo"
|
||||
default y
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Binutils 2.25 nios2 issue
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_photo module into the OpenCV build.
|
||||
@@ -137,8 +135,8 @@ config BR2_PACKAGE_OPENCV_LIB_SUPERRES
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
help
|
||||
Include opencv_superres "super resolution" - module into the OpenCV
|
||||
build.
|
||||
Include opencv_superres "super resolution" - module into the
|
||||
OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_TS
|
||||
bool "ts (touchscreen)"
|
||||
@@ -162,7 +160,6 @@ config BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
||||
bool "videostab"
|
||||
default y
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # opencv libphoto
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
@@ -221,7 +218,6 @@ comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads, dynamic lib
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
|
||||
bool "gstreamer-1.x"
|
||||
depends on BR2_USE_MMU # gstreamer1 -> libglib2
|
||||
@@ -275,7 +271,6 @@ config BR2_PACKAGE_OPENCV_WITH_QT
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # qt
|
||||
depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
|
||||
select BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_STL
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
@@ -283,9 +278,6 @@ config BR2_PACKAGE_OPENCV_WITH_QT
|
||||
help
|
||||
Use Qt with QtTest module and STL support
|
||||
|
||||
comment "qt backend support needs a toolchain not affected by Binutils bug 19405"
|
||||
depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_TIFF
|
||||
bool "tiff support"
|
||||
select BR2_PACKAGE_TIFF
|
||||
@@ -297,7 +289,8 @@ config BR2_PACKAGE_OPENCV_WITH_V4L
|
||||
help
|
||||
Enable Video 4 Linux support.
|
||||
|
||||
If the package libv4l is enabled, its support is automatically enabled.
|
||||
If the package libv4l is enabled, its support is
|
||||
automatically enabled.
|
||||
|
||||
comment "Install options"
|
||||
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 94ebcca61c30034d5fb16feab8ec12c8a868f5162d20a9f0396f0f5f6d8bbbff opencv-2.4.13.tar.gz
|
||||
sha256 fb4769d0119c35426c3754b7fb079b407911e863958db53bdec83c7794582e41 opencv-2.4.13.3.tar.gz
|
||||
sha256 46e42877dfc3ac65769292cb4dc1a04b204ad9e40859a390f4c035d6179fbcc4 LICENSE
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENCV_VERSION = 2.4.13
|
||||
OPENCV_VERSION = 2.4.13.3
|
||||
OPENCV_SITE = $(call github,itseez,opencv,$(OPENCV_VERSION))
|
||||
OPENCV_INSTALL_STAGING = YES
|
||||
OPENCV_LICENSE = BSD-3c
|
||||
OPENCV_LICENSE = BSD-3-Clause
|
||||
OPENCV_LICENSE_FILES = LICENSE
|
||||
OPENCV_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
# OpenCV component options
|
||||
OPENCV_CONF_OPTS += \
|
||||
@@ -79,7 +80,8 @@ OPENCV_CONF_OPTS += \
|
||||
-DENABLE_SSE3=$(if $(BR2_X86_CPU_HAS_SSE3),ON,OFF) \
|
||||
-DENABLE_SSE41=$(if $(BR2_X86_CPU_HAS_SSE4),ON,OFF) \
|
||||
-DENABLE_SSE42=$(if $(BR2_X86_CPU_HAS_SSE42),ON,OFF) \
|
||||
-DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF)
|
||||
-DENABLE_SSSE3=$(if $(BR2_X86_CPU_HAS_SSSE3),ON,OFF) \
|
||||
-DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF)
|
||||
|
||||
# Cuda stuff
|
||||
OPENCV_CONF_OPTS += \
|
||||
@@ -192,7 +194,8 @@ OPENCV_CONF_OPTS += -DWITH_GTK=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_JASPER),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_JASPER=ON
|
||||
OPENCV_CONF_OPTS += -DWITH_JASPER=ON \
|
||||
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -D__STDC_LIMIT_MACROS"
|
||||
OPENCV_DEPENDENCIES += jasper
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_JASPER=OFF
|
||||
|
||||
Reference in New Issue
Block a user