mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Compare commits
56 Commits
2015.08-rc
...
2015.08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
20a36cd877 | ||
|
|
42180d8ab8 | ||
|
|
d3e9159a93 | ||
|
|
c559c0b55f | ||
|
|
3131ec442c | ||
|
|
d29b105318 | ||
|
|
fe15d50310 | ||
|
|
7bac31ceea | ||
|
|
5435c304f0 | ||
|
|
aacf0ae9e3 | ||
|
|
8012250b86 | ||
|
|
aca921d2af | ||
|
|
ec9fc5a2c0 | ||
|
|
9141ea81f0 | ||
|
|
82c40a83e9 | ||
|
|
f52f17e0c3 | ||
|
|
07b6e95edf | ||
|
|
7bc51f85ae | ||
|
|
c7bd65e1d4 | ||
|
|
dc1ba281a5 | ||
|
|
9428c06a1f | ||
|
|
39efd4e36b | ||
|
|
c3125cb6c6 | ||
|
|
6c8f751ab7 | ||
|
|
0f6efa31c1 | ||
|
|
4c19d83ed5 | ||
|
|
a0f3a2b88d | ||
|
|
2215b8a75e | ||
|
|
551971984c | ||
|
|
11cf0019b3 | ||
|
|
39d07e7bcb | ||
|
|
ca511b8063 | ||
|
|
0af33406a7 | ||
|
|
25ecd24579 | ||
|
|
1a07750cc5 | ||
|
|
67fcc2c580 | ||
|
|
b6c13b3378 | ||
|
|
0916daeff1 | ||
|
|
627a1044bf | ||
|
|
2f8b46c8f5 | ||
|
|
fc56d0fc9b | ||
|
|
4be8a0abc4 | ||
|
|
ad4be753c1 | ||
|
|
1a2c56150f | ||
|
|
b935d49a91 | ||
|
|
1a91c82f8a | ||
|
|
77397b1c72 | ||
|
|
d23c4d4f4d | ||
|
|
9519516a17 | ||
|
|
fd89a8b7d1 | ||
|
|
644b856e4a | ||
|
|
ebdd8f87c6 | ||
|
|
ac57d05076 | ||
|
|
3ba8dc3561 | ||
|
|
4803fca4d7 | ||
|
|
a123e7ed8e |
16
CHANGES
16
CHANGES
@@ -1,3 +1,19 @@
|
||||
2015.08, Released August 31st, 2015
|
||||
|
||||
Minor fixes.
|
||||
|
||||
OpenCV 3.x package renamed to opencv3. OpenCV 2.4.x
|
||||
reintroduced as opencv.
|
||||
|
||||
Updated/fixed packages: bootutils, canfestival, cppcms,
|
||||
curlftpfs, dhcpdump, dropbear, erlang-p1-tls, exfat, gnuradio,
|
||||
ipkg, libgudev, libmbim, libwebsock, linux-pam, lm-sensors,
|
||||
ltrace, midori, network-manager, openssh, perl-file-listing,
|
||||
perl-http-cookies, perl-http-daemon, perl-http-negotiate,
|
||||
perl-www-robotrules, python-can, qt5base, qt5multimedia,
|
||||
setools, sysvinit, tinyalsa, tn5250, tvheadend, uboot, vlc,
|
||||
x264, xserver_xorg-server, zyre
|
||||
|
||||
2015.08-rc2, Released August, 24th 2015
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
@@ -194,38 +194,6 @@ config BR2_TARGET_UBOOT_NETWORK
|
||||
help
|
||||
U-Boot's custom network settings options have been removed.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_CONTRIB
|
||||
bool "opencv contrib module no longer exists"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
OpenCV >=3.0 does not come with in-tree contrib modules.
|
||||
|
||||
They have been moved out of the OpenCV base tree, into the opencv_contrib
|
||||
repository:
|
||||
https://github.com/Itseez/opencv_contrib
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_GPU
|
||||
bool "opencv gpu module no longer exists"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
opencv_gpu module no longer exists as is in OpenCV >=3.0.
|
||||
|
||||
It has been split into several modules prefixed with "cuda" that require
|
||||
Cuda programming toolkit, which is not available in Buildroot. So cuda
|
||||
modules are forcibly disabled in Buildroot.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
bool "opencv legacy module no longer exists"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
opencv_legacy module no longer exists in OpenCV >=3.0.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_NONFREE
|
||||
bool "opencv nonfree module no longer exists"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
opencv_nonfree module no longer exists in OpenCV >=3.0.
|
||||
|
||||
###############################################################################
|
||||
comment "Legacy options removed in 2015.05"
|
||||
|
||||
|
||||
2
Makefile
2
Makefile
@@ -41,7 +41,7 @@ else # umask
|
||||
all:
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2015.08-rc2
|
||||
export BR2_VERSION := 2015.08
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -0,0 +1,742 @@
|
||||
From ee11fed43e2bd029f71af1e72ab9bb5652f5fc54 Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
Date: Wed, 29 Jul 2015 20:32:59 +0300
|
||||
Subject: [PATCH] Revert "arch: Make board selection choices optional"
|
||||
|
||||
This reverts commit a26cd04920dc069fd6e91abb785426cf6c29f45f.
|
||||
|
||||
Reverted commit caused an issue with "make oldconfig" - default prompt
|
||||
for target selection was set as No that lead to missing platform
|
||||
selection by automated scripts like that:
|
||||
------------------>8------------------
|
||||
"yes "" | make oldconfig" on defconfig
|
||||
------------------>8------------------
|
||||
|
||||
And that lead to build failure:
|
||||
------------------>8------------------
|
||||
$ make
|
||||
scripts/kconfig/conf --silentoldconfig Kconfig
|
||||
CHK include/config.h
|
||||
UPD include/config.h
|
||||
GEN include/autoconf.mk
|
||||
In file included from ./include/common.h:18:0:
|
||||
include/config.h:5:22: fatal error: configs/.h: No such file or directory
|
||||
#include <configs/.h>
|
||||
^
|
||||
compilation terminated.
|
||||
scripts/Makefile.autoconf:72: recipe for target 'include/autoconf.mk' failed
|
||||
make[1]: *** [include/autoconf.mk] Error 1
|
||||
------------------>8------------------
|
||||
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
---
|
||||
arch/arc/Kconfig | 1 -
|
||||
arch/arm/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/exynos/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/mx5/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/mx6/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/omap3/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/omap4/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/omap5/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/rmobile/Kconfig | 1 -
|
||||
arch/arm/cpu/armv7/s5pc1xx/Kconfig | 1 -
|
||||
arch/arm/mach-at91/Kconfig | 1 -
|
||||
arch/arm/mach-bcm283x/Kconfig | 1 -
|
||||
arch/arm/mach-davinci/Kconfig | 1 -
|
||||
arch/arm/mach-integrator/Kconfig | 2 --
|
||||
arch/arm/mach-keystone/Kconfig | 1 -
|
||||
arch/arm/mach-kirkwood/Kconfig | 1 -
|
||||
arch/arm/mach-nomadik/Kconfig | 1 -
|
||||
arch/arm/mach-orion5x/Kconfig | 1 -
|
||||
arch/arm/mach-socfpga/Kconfig | 1 -
|
||||
arch/arm/mach-tegra/Kconfig | 1 -
|
||||
arch/arm/mach-tegra/tegra114/Kconfig | 1 -
|
||||
arch/arm/mach-tegra/tegra124/Kconfig | 1 -
|
||||
arch/arm/mach-tegra/tegra20/Kconfig | 1 -
|
||||
arch/arm/mach-tegra/tegra30/Kconfig | 1 -
|
||||
arch/arm/mach-zynq/Kconfig | 1 -
|
||||
arch/avr32/Kconfig | 1 -
|
||||
arch/blackfin/Kconfig | 1 -
|
||||
arch/m68k/Kconfig | 1 -
|
||||
arch/microblaze/Kconfig | 1 -
|
||||
arch/mips/Kconfig | 1 -
|
||||
arch/nds32/Kconfig | 1 -
|
||||
arch/nios2/Kconfig | 1 -
|
||||
arch/openrisc/Kconfig | 1 -
|
||||
arch/powerpc/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc512x/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc5xx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc5xxx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc8260/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc83xx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc85xx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc86xx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/mpc8xx/Kconfig | 1 -
|
||||
arch/powerpc/cpu/ppc4xx/Kconfig | 1 -
|
||||
arch/sh/Kconfig | 1 -
|
||||
arch/sparc/Kconfig | 1 -
|
||||
board/amcc/canyonlands/Kconfig | 1 -
|
||||
board/coreboot/Kconfig | 1 -
|
||||
board/dbau1x00/Kconfig | 1 -
|
||||
board/google/Kconfig | 1 -
|
||||
board/intel/Kconfig | 1 -
|
||||
board/micronas/vct/Kconfig | 1 -
|
||||
board/seco/Kconfig | 2 --
|
||||
board/sunxi/Kconfig | 1 -
|
||||
53 files changed, 55 deletions(-)
|
||||
|
||||
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
|
||||
index 925e312..640cda8 100644
|
||||
--- a/arch/arc/Kconfig
|
||||
+++ b/arch/arc/Kconfig
|
||||
@@ -129,7 +129,6 @@ config ARC_CACHE_LINE_SHIFT
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_TB100
|
||||
bool "Support tb100"
|
||||
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
|
||||
index 9908b43..8eeb46c 100644
|
||||
--- a/arch/arm/Kconfig
|
||||
+++ b/arch/arm/Kconfig
|
||||
@@ -64,7 +64,6 @@ config SEMIHOSTING
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config ARCH_AT91
|
||||
bool "Atmel AT91"
|
||||
diff --git a/arch/arm/cpu/armv7/exynos/Kconfig b/arch/arm/cpu/armv7/exynos/Kconfig
|
||||
index 4a7d82f..f2fe748 100644
|
||||
--- a/arch/arm/cpu/armv7/exynos/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/exynos/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_EXYNOS
|
||||
|
||||
choice
|
||||
prompt "EXYNOS board select"
|
||||
- optional
|
||||
|
||||
config TARGET_SMDKV310
|
||||
select SUPPORT_SPL
|
||||
diff --git a/arch/arm/cpu/armv7/mx5/Kconfig b/arch/arm/cpu/armv7/mx5/Kconfig
|
||||
index 9f250c6..2d6c0ce 100644
|
||||
--- a/arch/arm/cpu/armv7/mx5/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/mx5/Kconfig
|
||||
@@ -12,7 +12,6 @@ config MX53
|
||||
|
||||
choice
|
||||
prompt "MX5 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_USBARMORY
|
||||
bool "Support USB armory"
|
||||
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
index 10908c4..662596f 100644
|
||||
--- a/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
|
||||
@@ -27,7 +27,6 @@ config MX6SX
|
||||
|
||||
choice
|
||||
prompt "MX6 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_SECOMX6
|
||||
bool "Support secomx6 boards"
|
||||
diff --git a/arch/arm/cpu/armv7/omap3/Kconfig b/arch/arm/cpu/armv7/omap3/Kconfig
|
||||
index b32a6b0..cc82c50 100644
|
||||
--- a/arch/arm/cpu/armv7/omap3/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/omap3/Kconfig
|
||||
@@ -2,7 +2,6 @@ if OMAP34XX
|
||||
|
||||
choice
|
||||
prompt "OMAP3 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_AM3517_EVM
|
||||
bool "AM3517 EVM"
|
||||
diff --git a/arch/arm/cpu/armv7/omap4/Kconfig b/arch/arm/cpu/armv7/omap4/Kconfig
|
||||
index df27ea1..eccf897 100644
|
||||
--- a/arch/arm/cpu/armv7/omap4/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/omap4/Kconfig
|
||||
@@ -2,7 +2,6 @@ if OMAP44XX
|
||||
|
||||
choice
|
||||
prompt "OMAP4 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_DUOVERO
|
||||
bool "OMAP4430 Gumstix Duovero"
|
||||
diff --git a/arch/arm/cpu/armv7/omap5/Kconfig b/arch/arm/cpu/armv7/omap5/Kconfig
|
||||
index 20c3bd9..aca862d 100644
|
||||
--- a/arch/arm/cpu/armv7/omap5/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/omap5/Kconfig
|
||||
@@ -2,7 +2,6 @@ if OMAP54XX
|
||||
|
||||
choice
|
||||
prompt "OMAP5 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_CM_T54
|
||||
bool "CompuLab CM-T54"
|
||||
diff --git a/arch/arm/cpu/armv7/rmobile/Kconfig b/arch/arm/cpu/armv7/rmobile/Kconfig
|
||||
index ef56286..638b63d 100644
|
||||
--- a/arch/arm/cpu/armv7/rmobile/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/rmobile/Kconfig
|
||||
@@ -2,7 +2,6 @@ if RMOBILE
|
||||
|
||||
choice
|
||||
prompt "Renesus ARM SoCs board select"
|
||||
- optional
|
||||
|
||||
config TARGET_ARMADILLO_800EVA
|
||||
bool "armadillo 800 eva board"
|
||||
diff --git a/arch/arm/cpu/armv7/s5pc1xx/Kconfig b/arch/arm/cpu/armv7/s5pc1xx/Kconfig
|
||||
index 792ef59..65cc9eb 100644
|
||||
--- a/arch/arm/cpu/armv7/s5pc1xx/Kconfig
|
||||
+++ b/arch/arm/cpu/armv7/s5pc1xx/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_S5PC1XX
|
||||
|
||||
choice
|
||||
prompt "S5PC1XX board select"
|
||||
- optional
|
||||
|
||||
config TARGET_S5P_GONI
|
||||
bool "S5P Goni board"
|
||||
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
|
||||
index bbf4228..5dc2cb2 100644
|
||||
--- a/arch/arm/mach-at91/Kconfig
|
||||
+++ b/arch/arm/mach-at91/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_AT91
|
||||
|
||||
choice
|
||||
prompt "Atmel AT91 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_AT91RM9200EK
|
||||
bool "Atmel AT91RM9200 evaluation kit"
|
||||
diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
|
||||
index 2315a13..d40f505 100644
|
||||
--- a/arch/arm/mach-bcm283x/Kconfig
|
||||
+++ b/arch/arm/mach-bcm283x/Kconfig
|
||||
@@ -3,7 +3,6 @@ menu "Broadcom BCM283X family"
|
||||
|
||||
choice
|
||||
prompt "Broadcom BCM283X board select"
|
||||
- optional
|
||||
|
||||
config TARGET_RPI
|
||||
bool "Raspberry Pi"
|
||||
diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
|
||||
index e6cb390..3ef55d3 100644
|
||||
--- a/arch/arm/mach-davinci/Kconfig
|
||||
+++ b/arch/arm/mach-davinci/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_DAVINCI
|
||||
|
||||
choice
|
||||
prompt "DaVinci board select"
|
||||
- optional
|
||||
|
||||
config TARGET_ENBW_CMC
|
||||
bool "EnBW CMC board"
|
||||
diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig
|
||||
index c54d69d..8ffc544 100644
|
||||
--- a/arch/arm/mach-integrator/Kconfig
|
||||
+++ b/arch/arm/mach-integrator/Kconfig
|
||||
@@ -3,7 +3,6 @@ menu "Integrator Options"
|
||||
|
||||
choice
|
||||
prompt "Integrator platform select"
|
||||
- optional
|
||||
|
||||
config ARCH_INTEGRATOR_AP
|
||||
bool "Support Integrator/AP platform"
|
||||
@@ -19,7 +18,6 @@ config ARCH_CINTEGRATOR
|
||||
|
||||
choice
|
||||
prompt "Integrator core module select"
|
||||
- optional
|
||||
|
||||
config CM720T
|
||||
bool "Core Module for ARM720T"
|
||||
diff --git a/arch/arm/mach-keystone/Kconfig b/arch/arm/mach-keystone/Kconfig
|
||||
index 67f1a33..134ae87 100644
|
||||
--- a/arch/arm/mach-keystone/Kconfig
|
||||
+++ b/arch/arm/mach-keystone/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_KEYSTONE
|
||||
|
||||
choice
|
||||
prompt "TI Keystone board select"
|
||||
- optional
|
||||
|
||||
config TARGET_K2HK_EVM
|
||||
bool "TI Keystone 2 Kepler/Hawking EVM"
|
||||
diff --git a/arch/arm/mach-kirkwood/Kconfig b/arch/arm/mach-kirkwood/Kconfig
|
||||
index 1261885..45c6687 100644
|
||||
--- a/arch/arm/mach-kirkwood/Kconfig
|
||||
+++ b/arch/arm/mach-kirkwood/Kconfig
|
||||
@@ -2,7 +2,6 @@ if KIRKWOOD
|
||||
|
||||
choice
|
||||
prompt "Marvell Kirkwood board select"
|
||||
- optional
|
||||
|
||||
config TARGET_OPENRD
|
||||
bool "Marvell OpenRD Board"
|
||||
diff --git a/arch/arm/mach-nomadik/Kconfig b/arch/arm/mach-nomadik/Kconfig
|
||||
index ba72a41..265f336 100644
|
||||
--- a/arch/arm/mach-nomadik/Kconfig
|
||||
+++ b/arch/arm/mach-nomadik/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_NOMADIK
|
||||
|
||||
choice
|
||||
prompt "Nomadik board select"
|
||||
- optional
|
||||
|
||||
config NOMADIK_NHK8815
|
||||
bool "ST 8815 Nomadik Hardware Kit"
|
||||
diff --git a/arch/arm/mach-orion5x/Kconfig b/arch/arm/mach-orion5x/Kconfig
|
||||
index 7644b8d..291c511 100644
|
||||
--- a/arch/arm/mach-orion5x/Kconfig
|
||||
+++ b/arch/arm/mach-orion5x/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ORION5X
|
||||
|
||||
choice
|
||||
prompt "Marvell Orion board select"
|
||||
- optional
|
||||
|
||||
config TARGET_EDMINIV2
|
||||
bool "LaCie Ethernet Disk mini V2"
|
||||
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
|
||||
index e46c348..204efca 100644
|
||||
--- a/arch/arm/mach-socfpga/Kconfig
|
||||
+++ b/arch/arm/mach-socfpga/Kconfig
|
||||
@@ -2,7 +2,6 @@ if ARCH_SOCFPGA
|
||||
|
||||
choice
|
||||
prompt "Altera SOCFPGA board select"
|
||||
- optional
|
||||
|
||||
config TARGET_SOCFPGA_ARRIA5
|
||||
bool "Altera SOCFPGA Arria V"
|
||||
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
|
||||
index 54bd648..ef77c84 100644
|
||||
--- a/arch/arm/mach-tegra/Kconfig
|
||||
+++ b/arch/arm/mach-tegra/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TEGRA
|
||||
|
||||
choice
|
||||
prompt "Tegra SoC select"
|
||||
- optional
|
||||
|
||||
config TEGRA20
|
||||
bool "Tegra20 family"
|
||||
diff --git a/arch/arm/mach-tegra/tegra114/Kconfig b/arch/arm/mach-tegra/tegra114/Kconfig
|
||||
index 1047b92..31012bc 100644
|
||||
--- a/arch/arm/mach-tegra/tegra114/Kconfig
|
||||
+++ b/arch/arm/mach-tegra/tegra114/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TEGRA114
|
||||
|
||||
choice
|
||||
prompt "Tegra114 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_DALMORE
|
||||
bool "NVIDIA Tegra114 Dalmore evaluation board"
|
||||
diff --git a/arch/arm/mach-tegra/tegra124/Kconfig b/arch/arm/mach-tegra/tegra124/Kconfig
|
||||
index f3324ff..86c1301 100644
|
||||
--- a/arch/arm/mach-tegra/tegra124/Kconfig
|
||||
+++ b/arch/arm/mach-tegra/tegra124/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TEGRA124
|
||||
|
||||
choice
|
||||
prompt "Tegra124 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_JETSON_TK1
|
||||
bool "NVIDIA Tegra124 Jetson TK1 board"
|
||||
diff --git a/arch/arm/mach-tegra/tegra20/Kconfig b/arch/arm/mach-tegra/tegra20/Kconfig
|
||||
index 1bb8dff..7f09f81 100644
|
||||
--- a/arch/arm/mach-tegra/tegra20/Kconfig
|
||||
+++ b/arch/arm/mach-tegra/tegra20/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TEGRA20
|
||||
|
||||
choice
|
||||
prompt "Tegra20 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_HARMONY
|
||||
bool "NVIDIA Tegra20 Harmony evaluation board"
|
||||
diff --git a/arch/arm/mach-tegra/tegra30/Kconfig b/arch/arm/mach-tegra/tegra30/Kconfig
|
||||
index e78331e..3abdc7b 100644
|
||||
--- a/arch/arm/mach-tegra/tegra30/Kconfig
|
||||
+++ b/arch/arm/mach-tegra/tegra30/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TEGRA30
|
||||
|
||||
choice
|
||||
prompt "Tegra30 board select"
|
||||
- optional
|
||||
|
||||
config TARGET_APALIS_T30
|
||||
bool "Toradex Apalis T30 board"
|
||||
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
|
||||
index 1de5b07..6b0e295 100644
|
||||
--- a/arch/arm/mach-zynq/Kconfig
|
||||
+++ b/arch/arm/mach-zynq/Kconfig
|
||||
@@ -10,7 +10,6 @@ config ZYNQ_CUSTOM_INIT
|
||||
|
||||
choice
|
||||
prompt "Xilinx Zynq board select"
|
||||
- optional
|
||||
|
||||
config TARGET_ZYNQ_ZED
|
||||
bool "Zynq ZedBoard"
|
||||
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
|
||||
index eb33774..801b9cc 100644
|
||||
--- a/arch/avr32/Kconfig
|
||||
+++ b/arch/avr32/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_ATNGW100
|
||||
bool "Support atngw100"
|
||||
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
|
||||
index 0a2fb4d..31913fe 100644
|
||||
--- a/arch/blackfin/Kconfig
|
||||
+++ b/arch/blackfin/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_BCT_BRETTL2
|
||||
bool "Support bct-brettl2"
|
||||
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
|
||||
index 26509b7..69cb0f7 100644
|
||||
--- a/arch/m68k/Kconfig
|
||||
+++ b/arch/m68k/Kconfig
|
||||
@@ -114,7 +114,6 @@ config M548x
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_M52277EVB
|
||||
bool "Support M52277EVB"
|
||||
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
|
||||
index 077b2a7..6f419f0 100644
|
||||
--- a/arch/microblaze/Kconfig
|
||||
+++ b/arch/microblaze/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_MICROBLAZE_GENERIC
|
||||
bool "Support microblaze-generic"
|
||||
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
|
||||
index 7f7e258..87b94ac 100644
|
||||
--- a/arch/mips/Kconfig
|
||||
+++ b/arch/mips/Kconfig
|
||||
@@ -10,7 +10,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_QEMU_MIPS
|
||||
bool "Support qemu-mips"
|
||||
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig
|
||||
index 98b0282..81b0a01 100644
|
||||
--- a/arch/nds32/Kconfig
|
||||
+++ b/arch/nds32/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_ADP_AG101
|
||||
bool "Support adp-ag101"
|
||||
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
|
||||
index 8ae7f6e..b3be7b5 100644
|
||||
--- a/arch/nios2/Kconfig
|
||||
+++ b/arch/nios2/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_NIOS2_GENERIC
|
||||
bool "Support nios2-generic"
|
||||
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
|
||||
index 11014d1..4d62b4c 100644
|
||||
--- a/arch/openrisc/Kconfig
|
||||
+++ b/arch/openrisc/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_OPENRISC_GENERIC
|
||||
bool "Support openrisc-generic"
|
||||
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
|
||||
index 3b3f446..8e5a3e2 100644
|
||||
--- a/arch/powerpc/Kconfig
|
||||
+++ b/arch/powerpc/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_ARCH
|
||||
|
||||
choice
|
||||
prompt "CPU select"
|
||||
- optional
|
||||
|
||||
config MPC512X
|
||||
bool "MPC512X"
|
||||
diff --git a/arch/powerpc/cpu/mpc512x/Kconfig b/arch/powerpc/cpu/mpc512x/Kconfig
|
||||
index 53450ae..a0f0ede 100644
|
||||
--- a/arch/powerpc/cpu/mpc512x/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc512x/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_PDM360NG
|
||||
bool "Support pdm360ng"
|
||||
diff --git a/arch/powerpc/cpu/mpc5xx/Kconfig b/arch/powerpc/cpu/mpc5xx/Kconfig
|
||||
index 5275447..aad4a7c 100644
|
||||
--- a/arch/powerpc/cpu/mpc5xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc5xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_CMI_MPC5XX
|
||||
bool "Support cmi_mpc5xx"
|
||||
diff --git a/arch/powerpc/cpu/mpc5xxx/Kconfig b/arch/powerpc/cpu/mpc5xxx/Kconfig
|
||||
index 5d49228..eec9d7d 100644
|
||||
--- a/arch/powerpc/cpu/mpc5xxx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc5xxx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_A3M071
|
||||
bool "Support a3m071"
|
||||
diff --git a/arch/powerpc/cpu/mpc8260/Kconfig b/arch/powerpc/cpu/mpc8260/Kconfig
|
||||
index e93732d..55941c8 100644
|
||||
--- a/arch/powerpc/cpu/mpc8260/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc8260/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_KM82XX
|
||||
bool "Support km82xx"
|
||||
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
|
||||
index 3fb901f..88a3bd6 100644
|
||||
--- a/arch/powerpc/cpu/mpc83xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_MPC8308_P1M
|
||||
bool "Support mpc8308_p1m"
|
||||
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
|
||||
index 3e8d0b1..aff5fdb 100644
|
||||
--- a/arch/powerpc/cpu/mpc85xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_SBC8548
|
||||
bool "Support sbc8548"
|
||||
diff --git a/arch/powerpc/cpu/mpc86xx/Kconfig b/arch/powerpc/cpu/mpc86xx/Kconfig
|
||||
index fe1859d..14e8b1a 100644
|
||||
--- a/arch/powerpc/cpu/mpc86xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc86xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_SBC8641D
|
||||
bool "Support sbc8641d"
|
||||
diff --git a/arch/powerpc/cpu/mpc8xx/Kconfig b/arch/powerpc/cpu/mpc8xx/Kconfig
|
||||
index 79cee35..e8bcbe9 100644
|
||||
--- a/arch/powerpc/cpu/mpc8xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/mpc8xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_TQM823L
|
||||
bool "Support TQM823L"
|
||||
diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
|
||||
index 10b86e0..4d5954a 100644
|
||||
--- a/arch/powerpc/cpu/ppc4xx/Kconfig
|
||||
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
|
||||
@@ -6,7 +6,6 @@ config SYS_CPU
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_CSB272
|
||||
bool "Support csb272"
|
||||
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
|
||||
index 6ac22af..ff8f5b5 100644
|
||||
--- a/arch/sh/Kconfig
|
||||
+++ b/arch/sh/Kconfig
|
||||
@@ -29,7 +29,6 @@ config SH_32BIT
|
||||
|
||||
choice
|
||||
prompt "Target select"
|
||||
- optional
|
||||
|
||||
config TARGET_RSK7203
|
||||
bool "RSK+ 7203"
|
||||
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
|
||||
index 04dc08f..2df09b2 100644
|
||||
--- a/arch/sparc/Kconfig
|
||||
+++ b/arch/sparc/Kconfig
|
||||
@@ -14,7 +14,6 @@ config LEON3
|
||||
|
||||
choice
|
||||
prompt "Board select"
|
||||
- optional
|
||||
|
||||
config TARGET_GRSIM_LEON2
|
||||
bool "GRSIM simulating a LEON2 board"
|
||||
diff --git a/board/amcc/canyonlands/Kconfig b/board/amcc/canyonlands/Kconfig
|
||||
index a655dbc..ef66ad4 100644
|
||||
--- a/board/amcc/canyonlands/Kconfig
|
||||
+++ b/board/amcc/canyonlands/Kconfig
|
||||
@@ -11,7 +11,6 @@ config SYS_CONFIG_NAME
|
||||
|
||||
choice BOARD_TYPE
|
||||
prompt "Select which board to build for"
|
||||
- optional
|
||||
|
||||
config CANYONLANDS
|
||||
bool "Glacier"
|
||||
diff --git a/board/coreboot/Kconfig b/board/coreboot/Kconfig
|
||||
index ede6065..dc9b70f 100644
|
||||
--- a/board/coreboot/Kconfig
|
||||
+++ b/board/coreboot/Kconfig
|
||||
@@ -8,7 +8,6 @@ if VENDOR_COREBOOT
|
||||
|
||||
choice
|
||||
prompt "Mainboard model"
|
||||
- optional
|
||||
|
||||
config TARGET_COREBOOT
|
||||
bool "coreboot"
|
||||
diff --git a/board/dbau1x00/Kconfig b/board/dbau1x00/Kconfig
|
||||
index b813adb..1286e45 100644
|
||||
--- a/board/dbau1x00/Kconfig
|
||||
+++ b/board/dbau1x00/Kconfig
|
||||
@@ -13,7 +13,6 @@ menu "dbau1x00 board options"
|
||||
|
||||
choice
|
||||
prompt "Select au1x00 SoC type"
|
||||
- optional
|
||||
|
||||
config DBAU1100
|
||||
bool "Select AU1100"
|
||||
diff --git a/board/google/Kconfig b/board/google/Kconfig
|
||||
index e9559c9..302f68e 100644
|
||||
--- a/board/google/Kconfig
|
||||
+++ b/board/google/Kconfig
|
||||
@@ -8,7 +8,6 @@ if VENDOR_GOOGLE
|
||||
|
||||
choice
|
||||
prompt "Mainboard model"
|
||||
- optional
|
||||
|
||||
config TARGET_CHROMEBOOK_LINK
|
||||
bool "Chromebook link"
|
||||
diff --git a/board/intel/Kconfig b/board/intel/Kconfig
|
||||
index 3d9ecf0..7fe21b9 100644
|
||||
--- a/board/intel/Kconfig
|
||||
+++ b/board/intel/Kconfig
|
||||
@@ -8,7 +8,6 @@ if VENDOR_INTEL
|
||||
|
||||
choice
|
||||
prompt "Mainboard model"
|
||||
- optional
|
||||
|
||||
config TARGET_CROWNBAY
|
||||
bool "Crown Bay"
|
||||
diff --git a/board/micronas/vct/Kconfig b/board/micronas/vct/Kconfig
|
||||
index c518079..288a1ae 100644
|
||||
--- a/board/micronas/vct/Kconfig
|
||||
+++ b/board/micronas/vct/Kconfig
|
||||
@@ -13,7 +13,6 @@ menu "vct board options"
|
||||
|
||||
choice
|
||||
prompt "Board variant"
|
||||
- optional
|
||||
|
||||
config VCT_PLATINUM
|
||||
bool "Enable VCT_PLATINUM"
|
||||
diff --git a/board/seco/Kconfig b/board/seco/Kconfig
|
||||
index af16697..dcb1ac8 100644
|
||||
--- a/board/seco/Kconfig
|
||||
+++ b/board/seco/Kconfig
|
||||
@@ -2,7 +2,6 @@ if TARGET_SECOMX6
|
||||
|
||||
choice
|
||||
prompt "SECO i.MX6 Board variant"
|
||||
- optional
|
||||
|
||||
config SECOMX6_Q7
|
||||
bool "Q7"
|
||||
@@ -17,7 +16,6 @@ endchoice
|
||||
|
||||
choice
|
||||
prompt "SECO i.MX6 SoC variant"
|
||||
- optional
|
||||
|
||||
config SECOMX6Q
|
||||
bool "i.MX6Q"
|
||||
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
|
||||
index 2a1cd3c..808de26 100644
|
||||
--- a/board/sunxi/Kconfig
|
||||
+++ b/board/sunxi/Kconfig
|
||||
@@ -18,7 +18,6 @@ config SUNXI_GEN_SUN6I
|
||||
|
||||
choice
|
||||
prompt "Sunxi SoC Variant"
|
||||
- optional
|
||||
|
||||
config MACH_SUN4I
|
||||
bool "sun4i (Allwinner A10)"
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -28,8 +28,9 @@ There are a few non-trivial blocks:
|
||||
* c: a character device file
|
||||
* b: a block device file
|
||||
* p: a named pipe
|
||||
- +mode+, +uid+ and +gid+ are the usual permissions settings
|
||||
- +major+ and +minor+ are here for device files - set to - for other
|
||||
- +mode+, +uid+ and +gid+ are the usual permissions settings (only
|
||||
numerical values are allowed)
|
||||
- +major+ and +minor+ are here for device files, set to +-+ for other
|
||||
files
|
||||
- +start+, +inc+ and +count+ are for when you want to create a batch
|
||||
of files, and can be reduced to a loop, beginning at +start+,
|
||||
@@ -43,10 +44,12 @@ this syntax, you will need to put:
|
||||
----
|
||||
|
||||
Alternatively, if you want to change owner/permission of a directory
|
||||
recursively, you can put:
|
||||
recursively, you can put (to set UID to 123, GID to 456 and access
|
||||
rights to rwxr-x--- for the directory /usr/share/myapp and all files
|
||||
and directories below it):
|
||||
|
||||
----
|
||||
/usr/share/myapp r 750 myuser myuser - - - - -
|
||||
/usr/share/myapp r 750 123 456 - - - - -
|
||||
----
|
||||
|
||||
On the other hand, if you want to create the device file +/dev/hda+
|
||||
|
||||
@@ -26,7 +26,7 @@ There are many different ways to contribute:</p>
|
||||
</ul>
|
||||
|
||||
<p>For more details on these topics, check out the
|
||||
<a href="http://buildroot.uclibc.org/downloads/manual/manual.html#_contributing_to_buildroot">
|
||||
<a href="http://buildroot.org/manual.html#_contributing_to_buildroot">
|
||||
Contributing to buildroot</a> chapter in the Buildroot manual. Thanks for your help!</p>
|
||||
|
||||
<p>If you need any support yourself, have a look at <a href="./support.html">
|
||||
|
||||
@@ -11,7 +11,7 @@ things. It is available as:</p>
|
||||
|
||||
<h4>Latest stable release</h4>
|
||||
<ul>
|
||||
<li><a href="/downloads/manual/manual.html">Online HTML</a></li>
|
||||
<li><a href="/manual.html">Online HTML</a></li>
|
||||
<li><a href="/downloads/manual/manual.pdf">PDF document</a></li>
|
||||
<li><a href="/downloads/manual/manual.text">ASCII text</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -7,15 +7,15 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2015.05</b>, which can be downloaded
|
||||
The latest stable release is <b>2015.08</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2015.05.tar.gz">buildroot-2015.05.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2015.05.tar.gz.sign">PGP signature</a>)
|
||||
<a href="/downloads/buildroot-2015.08.tar.gz">buildroot-2015.08.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2015.08.tar.gz.sign">PGP signature</a>)
|
||||
or
|
||||
<a href="/downloads/buildroot-2015.05.tar.bz2">buildroot-2015.05.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2015.05.tar.bz2.sign">PGP signature</a>).
|
||||
|
||||
<a href="/downloads/buildroot-2015.08.tar.bz2">buildroot-2015.08.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2015.08.tar.bz2.sign">PGP signature</a>).
|
||||
<!--
|
||||
<p>
|
||||
The latest release candidate is <b>2015.08-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
@@ -26,7 +26,7 @@ or
|
||||
<a href="/downloads/buildroot-2015.08-rc2.tar.bz2">buildroot-2015.08-rc1.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2015.08-rc2.tar.bz2.sign">PGP signature</a>).
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
@@ -8,12 +8,23 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>31 August 2015 -- 2015.08 released</b>
|
||||
|
||||
<p>The stable 2015.08 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2015.08">CHANGES</a>
|
||||
file for more details,
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2015.08.tar.bz2">2015.08 release</a>.</p>
|
||||
|
||||
<li><b>24 August 2015 -- 2015.08-rc2 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see
|
||||
the <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2015.08-rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
file for details, and
|
||||
the <a href="http://lists.busybox.net/pipermail/buildroot/2015-August/137879.html">release
|
||||
announcement</a>.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2015.08-rc2.tar.bz2">2015.08-rc2
|
||||
|
||||
@@ -826,6 +826,7 @@ menu "Graphics"
|
||||
source "package/libvips/Config.in"
|
||||
source "package/menu-cache/Config.in"
|
||||
source "package/opencv/Config.in"
|
||||
source "package/opencv3/Config.in"
|
||||
source "package/opengl/Config.in"
|
||||
source "package/openjpeg/Config.in"
|
||||
source "package/pango/Config.in"
|
||||
@@ -852,6 +853,7 @@ menu "Hardware handling"
|
||||
source "package/libfreefare/Config.in"
|
||||
source "package/libftdi/Config.in"
|
||||
source "package/libftdi1/Config.in"
|
||||
source "package/libgudev/Config.in"
|
||||
source "package/libhid/Config.in"
|
||||
source "package/libiio/Config.in"
|
||||
source "package/libinput/Config.in"
|
||||
@@ -1371,18 +1373,17 @@ endif
|
||||
endmenu
|
||||
|
||||
menu "Package managers"
|
||||
comment "-----------------------------------------------------"
|
||||
comment "Please note: "
|
||||
comment "- Buildroot does *not* generate binary packages, "
|
||||
comment "- Buildroot does *not* install any package database. "
|
||||
comment "* "
|
||||
comment "It is up to you to provide those by yourself if you "
|
||||
comment "want to use any of those package managers. "
|
||||
comment "* "
|
||||
comment "See the manual: "
|
||||
comment "http://buildroot.org/downloads/manual/manual.html#faq"
|
||||
comment "-no-binary-packages "
|
||||
comment "-----------------------------------------------------"
|
||||
comment "-------------------------------------------------------"
|
||||
comment "Please note: "
|
||||
comment "- Buildroot does *not* generate binary packages, "
|
||||
comment "- Buildroot does *not* install any package database. "
|
||||
comment "* "
|
||||
comment "It is up to you to provide those by yourself if you "
|
||||
comment "want to use any of those package managers. "
|
||||
comment "* "
|
||||
comment "See the manual: "
|
||||
comment "http://buildroot.org/manual.html#faq-no-binary-packages"
|
||||
comment "-------------------------------------------------------"
|
||||
source "package/ipkg/Config.in"
|
||||
source "package/opkg/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
|
||||
31
package/bootutils/0001-fix-musl-compilation-issue.patch
Normal file
31
package/bootutils/0001-fix-musl-compilation-issue.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
From e4c2c18b9d1d7a6dc17d8f7705b26fc2e2efc5a9 Mon Sep 17 00:00:00 2001
|
||||
From: Brendan Heading <brendanheading@gmail.com>
|
||||
Date: Sun, 30 Aug 2015 20:12:40 +0100
|
||||
Subject: [PATCH 1/1] fix musl compilation issue
|
||||
|
||||
makedev(3) requires sys/types.h to be included.
|
||||
|
||||
Note upstream has not issued releases since 2009. No mailing list activity
|
||||
since January 2010, and even before then it seems to be mostly spam.
|
||||
|
||||
Upstream-Status: dormant
|
||||
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
|
||||
---
|
||||
raidscan.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/raidscan.c b/raidscan.c
|
||||
index fab3b02..3cb1a0d 100644
|
||||
--- a/raidscan.c
|
||||
+++ b/raidscan.c
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
+#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/major.h>
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -36,13 +36,13 @@ define CANFESTIVAL_CONFIGURE_CMDS
|
||||
endef
|
||||
|
||||
define CANFESTIVAL_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all \
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all \
|
||||
PYTHON=$(HOST_DIR)/usr/bin/python2
|
||||
endef
|
||||
|
||||
define CANFESTIVAL_INSTALL_TARGET_CMDS
|
||||
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$$d install \
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
||||
DESTDIR=$(TARGET_DIR) || exit 1 ; \
|
||||
done
|
||||
@@ -50,7 +50,7 @@ endef
|
||||
|
||||
define CANFESTIVAL_INSTALL_STAGING_CMDS
|
||||
for d in $(CANFESTIVAL_INSTALLED-y) ; do \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$$d install \
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \
|
||||
PYTHON=$(HOST_DIR)/usr/bin/python2 \
|
||||
DESTDIR=$(STAGING_DIR) || exit 1 ; \
|
||||
done
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
# From http://sourceforge.net/projects/cppcms/files/cppcms/1.0.5/
|
||||
sha1 15f21897c14acfd4b0c74622e49d95857f2fe939 cppcms-1.0.5.tar.bz2
|
||||
md5 d668c201dd31fff8090380ebdc0bcc2b cppcms-1.0.5.tar.bz2
|
||||
# Locally computed:
|
||||
sha256 7c76befc706f3a5f7435b5757eab56784d762db9dd3654467e02e85000caf700 cppcms-1.0.4.tar.bz2
|
||||
sha256 84b685977bca97c3e997497f227bd5906adb80555066d811a7046b01c2f51865 cppcms-1.0.5.tar.bz2
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CPPCMS_VERSION = 1.0.4
|
||||
CPPCMS_VERSION = 1.0.5
|
||||
CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2
|
||||
CPPCMS_LICENSE = LGPLv3
|
||||
CPPCMS_LICENSE_FILES = COPYING.TXT
|
||||
|
||||
39
package/curlftpfs/0004-fix-musl-build-off-t.patch
Normal file
39
package/curlftpfs/0004-fix-musl-build-off-t.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
Use off_t instead of __off_t
|
||||
|
||||
__off_t is an internal C library type, which shouldn't be used by
|
||||
applications. It is not defined by the musl C library, so use the
|
||||
public off_t type instead.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/ftpfs.c
|
||||
===================================================================
|
||||
--- a/ftpfs.c
|
||||
+++ b/ftpfs.c
|
||||
@@ -687,7 +687,7 @@
|
||||
return ftpfs_getattr(path, &sbuf);
|
||||
}
|
||||
|
||||
-static __off_t test_size(const char* path)
|
||||
+static off_t test_size(const char* path)
|
||||
{
|
||||
struct stat sbuf;
|
||||
int err = ftpfs_getattr(path, &sbuf);
|
||||
@@ -950,7 +950,7 @@
|
||||
|
||||
/* fix openoffice problem, truncating exactly to file length */
|
||||
|
||||
- __off_t size = (long long int)test_size(path);
|
||||
+ off_t size = (long long int)test_size(path);
|
||||
DEBUG(1, "ftpfs_truncate: %s check filesize=%lld\n", path, (long long int)size);
|
||||
|
||||
if (offset == size)
|
||||
@@ -978,7 +978,7 @@
|
||||
}
|
||||
/* fix openoffice problem, truncating exactly to file length */
|
||||
|
||||
- __off_t size = test_size(path);
|
||||
+ off_t size = test_size(path);
|
||||
DEBUG(1, "ftpfs_ftruncate: %s check filesize=%lld\n", path, (long long int)size);
|
||||
|
||||
if (offset == size)
|
||||
@@ -16,7 +16,8 @@ DHCPDUMP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
|
||||
endif
|
||||
|
||||
define DHCPDUMP_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)" LIBS="$(DHCPDUMP_LIBS)"
|
||||
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) -D_GNU_SOURCE" \
|
||||
LIBS="$(DHCPDUMP_LIBS)"
|
||||
endef
|
||||
|
||||
define DHCPDUMP_INSTALL_TARGET_CMDS
|
||||
|
||||
@@ -9,9 +9,6 @@ test -r /etc/default/dropbear && . /etc/default/dropbear
|
||||
start() {
|
||||
DROPBEAR_ARGS="$DROPBEAR_ARGS -R"
|
||||
|
||||
echo -n "Starting dropbear sshd: "
|
||||
umask 077
|
||||
|
||||
# If /etc/dropbear is a symlink to /var/run/dropbear, and
|
||||
# - the filesystem is RO (i.e. we can not rm the symlink),
|
||||
# create the directory pointed to by the symlink.
|
||||
@@ -20,13 +17,18 @@ start() {
|
||||
if [ -L /etc/dropbear \
|
||||
-a "$(readlink /etc/dropbear)" = "/var/run/dropbear" ]
|
||||
then
|
||||
if rm -f /etc/dropbear; then
|
||||
if rm -f /etc/dropbear >/dev/null 2>&1; then
|
||||
mkdir -p /etc/dropbear
|
||||
else
|
||||
mkdir -p $(readlink /etc/dropbear)
|
||||
echo "No persistent location to store SSH host keys. New keys will be"
|
||||
echo "generated at each boot. Are you sure this is what you want to do?"
|
||||
mkdir -p "$(readlink /etc/dropbear)"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -n "Starting dropbear sshd: "
|
||||
umask 077
|
||||
|
||||
start-stop-daemon -S -q -p /var/run/dropbear.pid \
|
||||
--exec /usr/sbin/dropbear -- $DROPBEAR_ARGS
|
||||
[ $? = 0 ] && echo "OK" || echo "FAIL"
|
||||
|
||||
@@ -11,10 +11,12 @@ After=syslog.target network.target auditd.service
|
||||
ExecStartPre=/bin/sh -c '\
|
||||
if [ -L /etc/dropbear \
|
||||
-a "$(readlink /etc/dropbear)" = "/var/run/dropbear" ]; then \
|
||||
if rm -f /etc/dropbear; then \
|
||||
if rm -f /etc/dropbear >/dev/null 2>&1; then \
|
||||
mkdir -p /etc/dropbear; \
|
||||
else \
|
||||
mkdir -p $(readlink /etc/dropbear); \
|
||||
echo "No persistent location to store SSH host keys. New keys will be"; \
|
||||
echo "generated at each boot. Are you sure this is what you want to do?"; \
|
||||
mkdir -p "$(readlink /etc/dropbear)"; \
|
||||
fi; \
|
||||
fi'
|
||||
ExecStart=/usr/sbin/dropbear -F -R
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_ERLANG_P1_TLS
|
||||
bool "erlang-p1-tls"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Erlang interface to OpenSSL
|
||||
|
||||
|
||||
@@ -9,5 +9,6 @@ ERLANG_P1_TLS_SITE = $(call github,processone,tls,$(ERLANG_P1_TLS_VERSION))
|
||||
ERLANG_P1_TLS_LICENSE = GPLv2+
|
||||
ERLANG_P1_TLS_LICENSE_FILES = COPYING
|
||||
ERLANG_P1_TLS_INSTALL_STAGING = YES
|
||||
ERLANG_P1_TLS_DEPENDENCIES = openssl
|
||||
|
||||
$(eval $(rebar-package))
|
||||
|
||||
@@ -10,15 +10,24 @@ EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz
|
||||
EXFAT_DEPENDENCIES = host-scons libfuse
|
||||
EXFAT_LICENSE = GPLv3+
|
||||
EXFAT_LICENSE_FILES = COPYING
|
||||
EXFAT_CFLAGS = $(TARGET_CFLAGS) -std=c99
|
||||
|
||||
# The endianness handling functions in platform.h are protected behind
|
||||
# ifdef __GLIBC__ which musl doesn't define even though it does
|
||||
# provide the endianness handling interface. Work around it by
|
||||
# ensuring __GLIBC__ is defined.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
||||
EXFAT_CFLAGS += -D__GLIBC__
|
||||
endif
|
||||
|
||||
define EXFAT_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS))
|
||||
$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(EXFAT_CFLAGS)" $(SCONS))
|
||||
endef
|
||||
|
||||
define EXFAT_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS) \
|
||||
$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(EXFAT_CFLAGS)" $(SCONS) \
|
||||
DESTDIR=$(TARGET_DIR)/usr/sbin install)
|
||||
endef
|
||||
|
||||
|
||||
19
package/gnuradio/0002-types_t-is-need-for-mode_t.patch
Normal file
19
package/gnuradio/0002-types_t-is-need-for-mode_t.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
To avoid :
|
||||
error: 'mode_t' has not been declared
|
||||
sys/types.h must be included
|
||||
|
||||
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
|
||||
---
|
||||
Index: gnuradio-3.7.5/gnuradio-runtime/include/gnuradio/logger.h.in
|
||||
===================================================================
|
||||
--- gnuradio-3.7.5.orig/gnuradio-runtime/include/gnuradio/logger.h.in
|
||||
+++ gnuradio-3.7.5/gnuradio-runtime/include/gnuradio/logger.h.in
|
||||
@@ -44,6 +44,8 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef unsigned short mode_t;
|
||||
+#else
|
||||
+#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <gnuradio/api.h>
|
||||
@@ -557,14 +557,24 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
|
||||
bool "opencv"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BROKEN # gst1-plugin-opencv does not (yet) support opencv >=3.x
|
||||
depends on BR2_PACKAGE_OPENCV
|
||||
# Remove the following opencv modules when gstreamer fixes the
|
||||
# problem of including the old "cv.h" header
|
||||
# bug: https://bugzilla.gnome.org/show_bug.cgi?id=725163
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_CONTRIB
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
select BR2_PACKAGE_OPENCV_LIB_ML
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
help
|
||||
GStreamer OpenCV Plugins
|
||||
|
||||
comment "opencv plugin needs a toolchain w/ C++, NPTL"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
comment "opencv plugin needs OpenCV-2.4"
|
||||
depends on !BR2_PACKAGE_OPENCV
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
|
||||
bool "opus"
|
||||
|
||||
50
package/ipkg/0001-fix-musl-build.patch
Normal file
50
package/ipkg/0001-fix-musl-build.patch
Normal file
@@ -0,0 +1,50 @@
|
||||
Remove __P macro usage to fix musl build
|
||||
|
||||
__P() is used for compatibility with old K&R C compilers. With ANSI C
|
||||
this macro has no effect.
|
||||
|
||||
This fixes a compilation error with musl libc because of undeclared
|
||||
__P.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: b/md5.c
|
||||
===================================================================
|
||||
--- a/md5.c
|
||||
+++ b/md5.c
|
||||
@@ -97,21 +97,21 @@
|
||||
|
||||
/* Initialize structure containing state of computation.
|
||||
(RFC 1321, 3.3: Step 3) */
|
||||
-static void md5_init_ctx __P ((struct md5_ctx *ctx));
|
||||
+static void md5_init_ctx (struct md5_ctx *ctx);
|
||||
|
||||
/* Starting with the result of former calls of this function (or the
|
||||
initialization function update the context for the next LEN bytes
|
||||
starting at BUFFER.
|
||||
It is necessary that LEN is a multiple of 64!!! */
|
||||
-static void md5_process_block __P ((const void *buffer, size_t len,
|
||||
- struct md5_ctx *ctx));
|
||||
+static void md5_process_block (const void *buffer, size_t len,
|
||||
+ struct md5_ctx *ctx);
|
||||
|
||||
/* Starting with the result of former calls of this function (or the
|
||||
initialization function update the context for the next LEN bytes
|
||||
starting at BUFFER.
|
||||
It is NOT required that LEN is a multiple of 64. */
|
||||
-static void md5_process_bytes __P ((const void *buffer, size_t len,
|
||||
- struct md5_ctx *ctx));
|
||||
+static void md5_process_bytes (const void *buffer, size_t len,
|
||||
+ struct md5_ctx *ctx);
|
||||
|
||||
/* Process the remaining bytes in the buffer and put result from CTX
|
||||
in first 16 bytes following RESBUF. The result is always in little
|
||||
@@ -120,7 +120,7 @@
|
||||
|
||||
IMPORTANT: On some systems it is required that RESBUF is correctly
|
||||
aligned for a 32 bits value. */
|
||||
-static void *md5_finish_ctx __P ((struct md5_ctx *ctx, void *resbuf));
|
||||
+static void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
//--------end of md5.h
|
||||
22
package/libgudev/Config.in
Normal file
22
package/libgudev/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_LIBGUDEV
|
||||
bool "libgudev"
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
depends on BR2_USE_WCHAR # gettext
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
This library provides GObject bindings for libudev. It was
|
||||
originally part of udev-extras, then udev, then systemd.
|
||||
It's now a project on its own. Required for building some
|
||||
programs that use udev, when using systemd.
|
||||
|
||||
When systemd is not used, libgudev is directly provided by
|
||||
eudev.
|
||||
|
||||
https://wiki.gnome.org/Projects/libgudev
|
||||
|
||||
comment "libgudev needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_INIT_SYSTEMD
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
15
package/libgudev/libgudev.mk
Normal file
15
package/libgudev/libgudev.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# libgudev
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGUDEV_VERSION = 230
|
||||
LIBGUDEV_SOURCE = libgudev-$(LIBGUDEV_VERSION).tar.xz
|
||||
LIBGUDEV_SITE = http://ftp.gnome.org/pub/GNOME/sources/libgudev/$(LIBGUDEV_VERSION)
|
||||
LIBGUDEV_INSTALL_STAGING = YES
|
||||
LIBGUDEV_DEPENDENCIES = host-pkgconf udev libglib2
|
||||
LIBGUDEV_LICENSE = LGPLv2.1+
|
||||
LIBGUDEV_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBMBIM
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
libmbim is a glib-based library for talking to WWAN modems and
|
||||
|
||||
@@ -13,6 +13,10 @@ LIBMBIM_INSTALL_STAGING = YES
|
||||
|
||||
LIBMBIM_DEPENDENCIES = libglib2 udev
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
LIBMBIM_DEPENDENCIES += libgudev
|
||||
endif
|
||||
|
||||
# we don't want -Werror
|
||||
LIBMBIM_CONF_OPTS = --enable-more-warnings=no
|
||||
|
||||
|
||||
66
package/libwebsock/0003-fix-incorrect-inline.patch
Normal file
66
package/libwebsock/0003-fix-incorrect-inline.patch
Normal file
@@ -0,0 +1,66 @@
|
||||
utf: do not define decode() to be inline
|
||||
|
||||
Currently, decode() is prototyped in utf.h, its body is in utf.c and it
|
||||
is called from util.c.
|
||||
|
||||
However, decode() is defined to be inline, which can not work since,
|
||||
when compiling util.c, the body of decode() is out-of-scope for that
|
||||
compilation unit.
|
||||
|
||||
Furthermore, decode() uses a utf8d, which is a static defined in utf.c .
|
||||
So utf8d is not visible when compiling util.c either.
|
||||
|
||||
This means that the definition of decode() along with utf8d is basically
|
||||
wrong, and is now failing with gcc-5.x, with warnings like so:
|
||||
|
||||
libtool: compile: /home/ymorin/dev/buildroot/O/host/usr/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c utf.c -fPIC -DPIC -o .libs/libwebsock_la-utf.o
|
||||
utf.c:36:12: warning: ‘utf8d’ is static but used in inline function ‘decode’ which is not static
|
||||
*state = utf8d[256 + *state*16 + type];
|
||||
^
|
||||
utf.c:30:19: warning: ‘utf8d’ is static but used in inline function ‘decode’ which is not static
|
||||
uint32_t type = utf8d[byte];
|
||||
^
|
||||
libtool: compile: /home/ymorin/dev/buildroot/O/host/usr/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wmissing-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -c util.c -fPIC -DPIC -o .libs/libwebsock_la-util.o
|
||||
In file included from websock.h:73:0,
|
||||
from util.c:20:
|
||||
utf.h:25:17: warning: inline function ‘decode’ declared but never defined
|
||||
uint32_t inline decode(uint32_t *state, uint32_t *codep, uint32_t byte);
|
||||
^
|
||||
|
||||
This results in decode() to be omitted from libwebsock.so, and thus link
|
||||
failures when another program wants to link with -lwebsock.
|
||||
|
||||
The simplest solution is to not inline decode() at all.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
---
|
||||
Note: an alternative would be to move both decode() and utf8d into
|
||||
decode.h nad ditch decode.c if decode really must be inline. This is
|
||||
left as an execise for an interested party. But since upstream hasn't
|
||||
seen a single commit in more than a year now... :-(
|
||||
|
||||
diff -durN a/src/utf.c b/src/utf.c
|
||||
--- a/src/utf.c 2014-07-15 01:43:20.000000000 +0200
|
||||
+++ b/src/utf.c 2015-08-22 22:29:38.667393786 +0200
|
||||
@@ -24,7 +24,7 @@
|
||||
1,3,1,1,1,1,1,3,1,3,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1, // s7..s8
|
||||
};
|
||||
|
||||
-uint32_t inline
|
||||
+uint32_t
|
||||
decode(uint32_t* state, uint32_t* codep, uint32_t byte)
|
||||
{
|
||||
uint32_t type = utf8d[byte];
|
||||
diff -durN a/src/utf.h b/src/utf.h
|
||||
--- a/src/utf.h 2014-07-15 01:43:20.000000000 +0200
|
||||
+++ b/src/utf.h 2015-08-22 22:29:10.439227396 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
-uint32_t inline decode(uint32_t *state, uint32_t *codep, uint32_t byte);
|
||||
+uint32_t decode(uint32_t *state, uint32_t *codep, uint32_t byte);
|
||||
|
||||
|
||||
#endif /* UTF_H_ */
|
||||
@@ -10,11 +10,12 @@ config BR2_PACKAGE_LINUX_PAM
|
||||
# https://lists.fedorahosted.org/pipermail/linux-pam-commits/2012-February/000105.html
|
||||
# for details.
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
help
|
||||
A Security Framework that Provides Authentication for Applications
|
||||
|
||||
http://linux-pam.org
|
||||
|
||||
comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "linux-pam needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||
|| BR2_STATIC_LIBS
|
||||
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
100
package/lm-sensors/0003-musl-fix-includes.patch
Normal file
100
package/lm-sensors/0003-musl-fix-includes.patch
Normal file
@@ -0,0 +1,100 @@
|
||||
From 6d85773537c9f277ed342f57500f784ccb2c4a3e Mon Sep 17 00:00:00 2001
|
||||
From: Brendan Heading <brendanheading@gmail.com>
|
||||
Date: Sun, 30 Aug 2015 22:26:39 +0100
|
||||
Subject: [PATCH 1/1] fix compilation under musl
|
||||
|
||||
This patch removes conditional compilation elements that are designed to
|
||||
support glibc versions earlier than 2.0, which were causing the build
|
||||
to fail under musl.
|
||||
|
||||
Based on the patch found here :
|
||||
|
||||
http://git.alpinelinux.org/cgit/aports/plain/main/lm_sensors/musl-fix-includes.patch?id=fece1d19448dbd3a56fd8ac70443116187141848
|
||||
|
||||
This patch has been accepted for integration upstream and should be
|
||||
present in the next release. See :
|
||||
|
||||
http://www.lm-sensors.org/changeset/6314
|
||||
|
||||
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
|
||||
Upstream-Status: pending
|
||||
---
|
||||
prog/dump/isadump.c | 6 ------
|
||||
prog/dump/isaset.c | 6 ------
|
||||
prog/dump/superio.c | 5 -----
|
||||
prog/dump/util.c | 5 -----
|
||||
4 files changed, 22 deletions(-)
|
||||
|
||||
diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c
|
||||
index e031e47..88e4c3b 100644
|
||||
--- a/prog/dump/isadump.c
|
||||
+++ b/prog/dump/isadump.c
|
||||
@@ -36,13 +36,7 @@
|
||||
#include "util.h"
|
||||
#include "superio.h"
|
||||
|
||||
-
|
||||
-/* To keep glibc2 happy */
|
||||
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
|
||||
#include <sys/io.h>
|
||||
-#else
|
||||
-#include <asm/io.h>
|
||||
-#endif
|
||||
|
||||
#ifdef __powerpc__
|
||||
unsigned long isa_io_base = 0; /* XXX for now */
|
||||
diff --git a/prog/dump/isaset.c b/prog/dump/isaset.c
|
||||
index 1d1bdad..a084c8a 100644
|
||||
--- a/prog/dump/isaset.c
|
||||
+++ b/prog/dump/isaset.c
|
||||
@@ -32,13 +32,7 @@
|
||||
#include <string.h>
|
||||
#include "util.h"
|
||||
|
||||
-
|
||||
-/* To keep glibc2 happy */
|
||||
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
|
||||
#include <sys/io.h>
|
||||
-#else
|
||||
-#include <asm/io.h>
|
||||
-#endif
|
||||
|
||||
#ifdef __powerpc__
|
||||
unsigned long isa_io_base = 0; /* XXX for now */
|
||||
diff --git a/prog/dump/superio.c b/prog/dump/superio.c
|
||||
index 1af7358..31e0d78 100644
|
||||
--- a/prog/dump/superio.c
|
||||
+++ b/prog/dump/superio.c
|
||||
@@ -20,12 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
-
|
||||
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
|
||||
#include <sys/io.h>
|
||||
-#else
|
||||
-#include <asm/io.h>
|
||||
-#endif
|
||||
|
||||
#include "superio.h"
|
||||
|
||||
diff --git a/prog/dump/util.c b/prog/dump/util.c
|
||||
index 676c339..d8b0927 100644
|
||||
--- a/prog/dump/util.c
|
||||
+++ b/prog/dump/util.c
|
||||
@@ -11,12 +11,7 @@
|
||||
#include <stdio.h>
|
||||
#include "util.h"
|
||||
|
||||
-/* To keep glibc2 happy */
|
||||
-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
|
||||
#include <sys/io.h>
|
||||
-#else
|
||||
-#include <asm/io.h>
|
||||
-#endif
|
||||
|
||||
/* Return 1 if we should continue, 0 if we should abort */
|
||||
int user_ack(int def)
|
||||
--
|
||||
2.4.3
|
||||
|
||||
@@ -19,8 +19,9 @@ LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
|
||||
|
||||
# ltrace can use libunwind only if libc has backtrace() support
|
||||
# We don't normally do so for uClibc and we can't know if it's external
|
||||
# Also ltrace with libunwind support is broken for MIPS so we disable it
|
||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_mips)$(BR2_mipsel),)
|
||||
# --with-elfutils only selects unwinding support backend. elfutils is a
|
||||
# mandatory dependency regardless.
|
||||
LTRACE_CONF_OPTS += --with-libunwind=yes --with-elfutils=no
|
||||
|
||||
@@ -37,7 +37,7 @@ ifeq ($(BR2_PACKAGE_MIDORI_HTTPS),y)
|
||||
MIDORI_DEPENDENCIES += glib-networking
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
|
||||
MIDORI_CONF_OPTS += -DUSE_GTK3=ON -DHALF_BRO_INCOM_WEBKIT2=ON
|
||||
MIDORI_DEPENDENCIES += libgtk3
|
||||
else
|
||||
|
||||
@@ -11,6 +11,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
|
||||
select BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_LIBGCRYPT
|
||||
select BR2_PACKAGE_LIBNL
|
||||
select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||
select BR2_PACKAGE_WIRELESS_TOOLS
|
||||
|
||||
@@ -63,6 +63,10 @@ ifeq ($(BR2_PACKAGE_DHCPCD),y)
|
||||
NETWORK_MANAGER_CONF_OPTS += --with-dhcpcd=/sbin/dhcpcd
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
NETWORK_MANAGER_DEPENDENCIES += libgudev
|
||||
endif
|
||||
|
||||
# uClibc by default doesn't have backtrace support, so don't use it
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
NETWORK_MANAGER_CONF_OPTS += --disable-crashtrace
|
||||
|
||||
49
package/opencv/0001-core-fix-x86-PIC-code-compilation.patch
Normal file
49
package/opencv/0001-core-fix-x86-PIC-code-compilation.patch
Normal file
@@ -0,0 +1,49 @@
|
||||
From ea50be0529c248961e1b66293f8a9e4b807294a6 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Sun, 12 Oct 2014 10:17:23 +0200
|
||||
Subject: [PATCH] core: fix x86 PIC code compilation
|
||||
|
||||
This bug was triggered by Buildroot autobuilders [1,2], causing this
|
||||
kind of failures [3,4]:
|
||||
|
||||
[ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o
|
||||
/home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp: In function '(static initializers for /home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp)':
|
||||
/home/test/autobuild/instance-0/output/build/opencv-2.4.10/modules/core/src/system.cpp:280:10: error: inconsistent operand constraints in an 'asm'
|
||||
make[3]: *** [modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o] Error 1
|
||||
|
||||
[1] http://buildroot.org/
|
||||
[2] http://autobuild.buildroot.org/
|
||||
[3] http://autobuild.buildroot.org/?reason=opencv-2.4.10
|
||||
[4] http://autobuild.buildroot.org/results/483/4838285b25d6293a5cf0bb9eadd5040a7c75d766/build-end.log
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
modules/core/src/system.cpp | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp
|
||||
index 5a970d5..e9ffdc7 100644
|
||||
--- a/modules/core/src/system.cpp
|
||||
+++ b/modules/core/src/system.cpp
|
||||
@@ -267,14 +267,17 @@ struct HWFeatures
|
||||
: "cc"
|
||||
);
|
||||
#else
|
||||
+ // We need to preserve ebx since we are compiling PIC code.
|
||||
+ // This means we cannot use "=b" for the 2nd output register.
|
||||
asm volatile
|
||||
(
|
||||
"pushl %%ebx\n\t"
|
||||
"movl $7,%%eax\n\t"
|
||||
"movl $0,%%ecx\n\t"
|
||||
"cpuid\n\t"
|
||||
+ "movl %%ebx,%1\n\t"
|
||||
"popl %%ebx\n\t"
|
||||
- : "=a"(cpuid_data[0]), "=b"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
|
||||
+ : "=a"(cpuid_data[0]), "=r"(cpuid_data[1]), "=c"(cpuid_data[2]), "=d"(cpuid_data[3])
|
||||
:
|
||||
: "cc"
|
||||
);
|
||||
--
|
||||
2.1.2
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
superres: Fix return value VideoFrameSource_GPU
|
||||
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
|
||||
From 2e393ab83362743ba1825ad4b31d4a2925c606b4 Mon Sep 17 00:00:00 2001
|
||||
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
Date: Mon, 27 Oct 2014 13:39:35 +0000
|
||||
Subject: [PATCH] superres: Fix return value VideoFrameSource_GPU
|
||||
|
||||
superres module fails to compile with the following error messages:
|
||||
|
||||
[100%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp: In function 'cv::Ptr<cv::superres::FrameSource> cv::superres::createFrameSource_Video_GPU(const string&)':
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected type-specifier before 'VideoFrameSource'
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: could not convert '(int*)operator new(4ul)' from 'int*' to 'cv::Ptr<cv::superres::FrameSource>'
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected ';' before 'VideoFrameSource'
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:41: error: 'VideoFrameSource' was not declared in this scope
|
||||
/opencv-2.4.10/modules/superres/src/frame_source.cpp:264:1: error: control reaches end of non-void function [-Werror=return-type]
|
||||
cc1plus: some warnings being treated as errors
|
||||
make[3]: *** [modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o] Error 1
|
||||
make[3]: *** Waiting for unfinished jobs....
|
||||
|
||||
This is caused because the return value of the createFrameSource_Video_GPU function should be a VideoFrameSource_GPU object.
|
||||
---
|
||||
modules/superres/src/frame_source.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/modules/superres/src/frame_source.cpp b/modules/superres/src/frame_source.cpp
|
||||
index 5f59a98..c5b2e76 100644
|
||||
--- a/modules/superres/src/frame_source.cpp
|
||||
+++ b/modules/superres/src/frame_source.cpp
|
||||
@@ -260,7 +260,7 @@ namespace
|
||||
|
||||
Ptr<FrameSource> cv::superres::createFrameSource_Video_GPU(const string& fileName)
|
||||
{
|
||||
- return new VideoFrameSource(fileName);
|
||||
+ return new VideoFrameSource_GPU(fileName);
|
||||
}
|
||||
|
||||
#endif // HAVE_OPENCV_GPU
|
||||
@@ -0,0 +1,156 @@
|
||||
From eceada586bbf18fc267e437522ec4f1f23ddc656 Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Fri, 3 Oct 2014 00:32:40 +0200
|
||||
Subject: [PATCH] cmake/OpenCVGenPkgconfig.cmake: rework opencv.pc generation
|
||||
|
||||
Using absolute path to locate the components in the "Libs:" field of the
|
||||
*.pc can badly break cross-compilation, especially when building
|
||||
statically linked objects.
|
||||
|
||||
Indeed, pkg-config automatically replaces the '-I...' and '-L...' paths
|
||||
when the PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR environment
|
||||
variables are set [1]. This feature is very helpful and common in
|
||||
cross-compilation framework like Buildroot [2,3].
|
||||
|
||||
When there are absolute paths in the *.pc files, pkg-config won't be
|
||||
able to do the path substitions for these paths when the afromentioned
|
||||
environment variables are set.
|
||||
In such case, since the prefix is the target one, not the sysroot one,
|
||||
these libraries' abolute paths will point to:
|
||||
- in the best case: a non-existing file (i.e. these files do not exists
|
||||
on the host system;
|
||||
- at worst: the host system's libraries. This will make the linking
|
||||
failed because these host system's libraries will most likely not be
|
||||
build for the target architecture [4].
|
||||
|
||||
So, this patch replace the components' absolute paths by the form:
|
||||
-L<libdir> -l<libname>
|
||||
|
||||
This way, the linker will be able to resolve each dependency path,
|
||||
whatever the kind of objects/build (shared object or static build) it
|
||||
is dealing with.
|
||||
|
||||
Note that for static link, the library order does matter [5]. The order
|
||||
of the opencv components has been carefully chosen to comply with this
|
||||
requirement.
|
||||
|
||||
Fixes #3931
|
||||
|
||||
[1] http://linux.die.net/man/1/pkg-config
|
||||
[2] http://buildroot.org/
|
||||
[3] http://git.buildroot.net/buildroot/tree/package/pkgconf/pkg-config.in
|
||||
[4] http://autobuild.buildroot.net/results/e8a/e8a859276db34aff87ef181b0cce98916b0afc90/build-end.log
|
||||
[5] http://stackoverflow.com/questions/45135/linker-order-gcc
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
|
||||
---
|
||||
Note: this patch properly applies on top of the master branch, though it
|
||||
has been written on top of the 2.4 branch.
|
||||
---
|
||||
cmake/OpenCVGenPkgconfig.cmake | 64 +++++++++++++++++++++++++++---------------
|
||||
1 file changed, 42 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/cmake/OpenCVGenPkgconfig.cmake b/cmake/OpenCVGenPkgconfig.cmake
|
||||
index fa57db9..183c56d 100644
|
||||
--- a/cmake/OpenCVGenPkgconfig.cmake
|
||||
+++ b/cmake/OpenCVGenPkgconfig.cmake
|
||||
@@ -8,10 +8,6 @@
|
||||
#
|
||||
# ${BIN_DIR}/unix-install/opencv.pc -> For use *with* "make install"
|
||||
# -------------------------------------------------------------------------------------------
|
||||
-set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
-set(exec_prefix "\${prefix}")
|
||||
-set(libdir "") #TODO: need link paths for OpenCV_EXTRA_COMPONENTS
|
||||
-set(includedir "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES "Release")
|
||||
set(ocv_optkind OPT)
|
||||
@@ -35,42 +31,66 @@ ocv_list_reverse(OpenCV_LIB_COMPONENTS)
|
||||
ocv_list_reverse(OpenCV_EXTRA_COMPONENTS)
|
||||
|
||||
#build the list of components
|
||||
-set(OpenCV_LIB_COMPONENTS_ "")
|
||||
-foreach(CVLib ${OpenCV_LIB_COMPONENTS})
|
||||
- get_target_property(libpath ${CVLib} LOCATION_${CMAKE_BUILD_TYPE})
|
||||
- get_filename_component(libname "${libpath}" NAME)
|
||||
|
||||
- if(INSTALL_TO_MANGLED_PATHS)
|
||||
- set(libname "${libname}.${OPENCV_VERSION}")
|
||||
- endif()
|
||||
+# Note:
|
||||
+# when linking against static libraries, if libfoo depends on libbar, then
|
||||
+# libfoo must come first in the linker flags.
|
||||
+
|
||||
+# world is a special target whose library should come first, especially for
|
||||
+# static link.
|
||||
+if(OpenCV_LIB_COMPONENTS MATCHES "opencv_world")
|
||||
+ list(REMOVE_ITEM OpenCV_LIB_COMPONENTS "opencv_world")
|
||||
+ list(INSERT OpenCV_LIB_COMPONENTS 0 "opencv_world")
|
||||
+endif()
|
||||
+
|
||||
+set(OpenCV_LIB_COMPONENTS_)
|
||||
+foreach(CVLib ${OpenCV_LIB_COMPONENTS})
|
||||
|
||||
- #need better solution....
|
||||
- if(libpath MATCHES "3rdparty")
|
||||
- set(installDir "share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH}")
|
||||
+ get_target_property(libloc ${CVLib} LOCATION_${CMAKE_BUILD_TYPE})
|
||||
+ if(libloc MATCHES "3rdparty")
|
||||
+ set(libpath "\${exec_prefix}/share/OpenCV/3rdparty/${OPENCV_LIB_INSTALL_PATH}")
|
||||
else()
|
||||
- set(installDir "${OPENCV_LIB_INSTALL_PATH}")
|
||||
+ set(libpath "\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}")
|
||||
endif()
|
||||
+ list(APPEND OpenCV_LIB_COMPONENTS_ "-L${libpath}")
|
||||
+
|
||||
+ get_filename_component(libname ${CVLib} NAME_WE)
|
||||
+ string(REGEX REPLACE "^lib" "" libname "${libname}")
|
||||
+ list(APPEND OpenCV_LIB_COMPONENTS_ "-l${libname}")
|
||||
|
||||
- set(OpenCV_LIB_COMPONENTS_ "${OpenCV_LIB_COMPONENTS_} \${exec_prefix}/${installDir}/${libname}")
|
||||
endforeach()
|
||||
|
||||
# add extra dependencies required for OpenCV
|
||||
-set(OpenCV_LIB_COMPONENTS ${OpenCV_LIB_COMPONENTS_})
|
||||
if(OpenCV_EXTRA_COMPONENTS)
|
||||
foreach(extra_component ${OpenCV_EXTRA_COMPONENTS})
|
||||
|
||||
- if(extra_component MATCHES "^-[lL]" OR extra_component MATCHES "[\\/]")
|
||||
- set(maybe_l_prefix "")
|
||||
+ if(extra_component MATCHES "^-[lL]")
|
||||
+ set(libprefix "")
|
||||
+ set(libname "${extra_component}")
|
||||
+ elseif(extra_component MATCHES "[\\/]")
|
||||
+ get_filename_component(libdir "${extra_component}" PATH)
|
||||
+ list(APPEND OpenCV_LIB_COMPONENTS_ "-L${libdir}")
|
||||
+ get_filename_component(libname "${extra_component}" NAME_WE)
|
||||
+ string(REGEX REPLACE "^lib" "" libname "${libname}")
|
||||
+ set(libprefix "-l")
|
||||
else()
|
||||
- set(maybe_l_prefix "-l")
|
||||
+ set(libprefix "-l")
|
||||
+ set(libname "${extra_component}")
|
||||
endif()
|
||||
-
|
||||
- set(OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS} ${maybe_l_prefix}${extra_component}")
|
||||
+ list(APPEND OpenCV_LIB_COMPONENTS_ "${libprefix}${libname}")
|
||||
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
+list(REMOVE_DUPLICATES OpenCV_LIB_COMPONENTS_)
|
||||
+string(REPLACE ";" " " OpenCV_LIB_COMPONENTS "${OpenCV_LIB_COMPONENTS_}")
|
||||
+
|
||||
#generate the .pc file
|
||||
+set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
+set(exec_prefix "\${prefix}")
|
||||
+set(libdir "\${exec_prefix}/${OPENCV_LIB_INSTALL_PATH}")
|
||||
+set(includedir "\${prefix}/${OPENCV_INCLUDE_INSTALL_PATH}")
|
||||
+
|
||||
if(INSTALL_TO_MANGLED_PATHS)
|
||||
set(OPENCV_PC_FILE_NAME "opencv-${OPENCV_VERSION}.pc")
|
||||
else()
|
||||
--
|
||||
2.4.1
|
||||
|
||||
@@ -1,20 +1,13 @@
|
||||
menuconfig BR2_PACKAGE_OPENCV
|
||||
bool "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
|
||||
depends on !BR2_STATIC_LIBS # include dlfcn.h
|
||||
# Causes some toolchain failures on Xtensa
|
||||
depends on !BR2_xtensa
|
||||
help
|
||||
OpenCV (Open Source Computer Vision) is a library of programming
|
||||
functions for real time computer vision.
|
||||
|
||||
Note that the opencv_core module and the opencv_hal library
|
||||
are always built and installed, not matter which other
|
||||
modules are enabled below.
|
||||
|
||||
http://opencv.org/
|
||||
|
||||
if BR2_PACKAGE_OPENCV
|
||||
@@ -23,216 +16,107 @@ comment "OpenCV modules"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
bool "calib3d"
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
default y
|
||||
help
|
||||
Include opencv_calib3d (camera calibration and 3d reconstruction) module
|
||||
into the OpenCV build.
|
||||
Include opencv_calib3d module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_CONTRIB
|
||||
bool "contrib"
|
||||
default y
|
||||
help
|
||||
Include opencv_contrib module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
bool "features2d"
|
||||
select BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_ML
|
||||
default y
|
||||
help
|
||||
Include opencv_features2d (2d features framework) module into the OpenCV
|
||||
build.
|
||||
Include opencv_features2d module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
bool "flann"
|
||||
# opencv_core dependency is already enabled
|
||||
default y
|
||||
help
|
||||
Include opencv_flann (clustering and search in multi-dimensional spaces)
|
||||
module into the OpenCV build.
|
||||
Include opencv_flann module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_GPU
|
||||
bool "gpu"
|
||||
help
|
||||
Include opencv_gpu module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
bool "highgui"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
||||
default y
|
||||
help
|
||||
Include opencv_highgui (high-level gui and media i/o) module into the
|
||||
OpenCV build.
|
||||
|
||||
if BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
|
||||
choice
|
||||
prompt "gui toolkit"
|
||||
help
|
||||
GUI toolkit to be used by the opencv_highgui module.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_GUI_NONE
|
||||
bool "none"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GTK
|
||||
bool "gtk2"
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
|
||||
comment "gtk2 support needs libgtk2"
|
||||
depends on BR2_USE_MMU # libgtk2 -> glib2
|
||||
depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
|
||||
depends on !BR2_PACKAGE_LIBGTK2
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GTK3
|
||||
bool "gtk3"
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
|
||||
comment "gtk3 support needs libgtk3"
|
||||
depends on BR2_USE_MMU # libgtk3 -> glib2
|
||||
depends on BR2_ARCH_HAS_ATOMICS # libgtk3 -> cairo
|
||||
depends on !BR2_PACKAGE_LIBGTK3
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_QT
|
||||
bool "qt4"
|
||||
depends on BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_STL
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
select BR2_PACKAGE_QT_TEST
|
||||
help
|
||||
Use Qt4 with QtTest and QtGui modules and STL support, as GUI toolkit.
|
||||
|
||||
comment "qt4 support needs qt"
|
||||
depends on BR2_USE_MMU # qt
|
||||
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_QT5
|
||||
bool "qt5"
|
||||
depends on BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_CONCURRENT
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
Use Qt5 with base, concurrent, test, gui and widgets components, as GUI
|
||||
toolkit.
|
||||
|
||||
comment "qt5 support needs qt5"
|
||||
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_OPENGL
|
||||
bool "opengl support"
|
||||
# OpenGL support done using Qt5OpenGL, so depends on WITH_QT5
|
||||
depends on BR2_PACKAGE_OPENCV_WITH_QT5
|
||||
# OpenGL support requires Qt5OpenGL with GL support, not GLES
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
help
|
||||
Enable OpenGL for UI.
|
||||
|
||||
comment "opengl support needs an OpenGL provider"
|
||||
depends on BR2_PACKAGE_OPENCV_WITH_QT5
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \
|
||||
!BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
endif # BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
||||
bool "imgcodecs"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_imgcodecs (image codecs) module into the OpenCV build.
|
||||
Include opencv_highgui module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
bool "imgproc"
|
||||
# opencv_core dependency is already enabled
|
||||
default y
|
||||
help
|
||||
Include opencv_imgproc (image processing) module into the OpenCV build.
|
||||
Include opencv_imgproc module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
bool "legacy"
|
||||
default y
|
||||
help
|
||||
Include opencv_legacy module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_ML
|
||||
bool "ml"
|
||||
# opencv_core dependency is already enabled
|
||||
bool "ml (machine learning)"
|
||||
default y
|
||||
help
|
||||
Include opencv_ml (machine learning) module into the OpenCV build.
|
||||
Include opencv_ml module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_NONFREE
|
||||
bool "nonfree"
|
||||
help
|
||||
Include opencv_nonfree module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
bool "objdetect"
|
||||
# opencv_core dependency is already enabled
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_ML
|
||||
default y
|
||||
help
|
||||
Include opencv_objdetect (object detection) module into the OpenCV build.
|
||||
Include opencv_objdetect module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
bool "photo"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
default y
|
||||
help
|
||||
Include opencv_photo (computational photography) module into the OpenCV
|
||||
build.
|
||||
Include opencv_photo module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_PYTHON
|
||||
bool "python"
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|
||||
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|
||||
|| BR2_sh || BR2_x86_64 # python-numpy
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64 # python-numpy
|
||||
select BR2_PACKAGE_PYTHON_NUMPY
|
||||
help
|
||||
Include opencv_python module into the OpenCV build.
|
||||
No python example is installed.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_SHAPE
|
||||
bool "shape"
|
||||
# opencv_core dependency is already enabled
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
help
|
||||
Include opencv_shape (shape descriptors and matchers) module into the
|
||||
OpenCV build.
|
||||
comment "opencv_python module requires numpy which is not yet available."
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_STITCHING
|
||||
bool "stitching"
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
default y
|
||||
help
|
||||
Include opencv_stitching (images stitching) module into the OpenCV build.
|
||||
Include opencv_stitching module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_SUPERRES
|
||||
bool "superres"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
default y
|
||||
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"
|
||||
# opencv_core dependency is already enabled
|
||||
bool "ts (touchscreen)"
|
||||
select BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
||||
default y
|
||||
help
|
||||
Include opencv_ts (test) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_VIDEOIO
|
||||
bool "videoio"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_videoio (media i/o) module into the OpenCV build.
|
||||
Include opencv_ts module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
bool "video"
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
default y
|
||||
help
|
||||
Include opencv_video (video analysis) module into the OpenCV build.
|
||||
Include opencv_video module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB
|
||||
bool "videostab"
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_PHOTO
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
default y
|
||||
help
|
||||
Include opencv_videostab (video stabilization) module into the OpenCV
|
||||
build.
|
||||
Include opencv_videostab module into the OpenCV build.
|
||||
|
||||
comment "Test sets"
|
||||
config BR2_PACKAGE_OPENCV_BUILD_TESTS
|
||||
@@ -251,16 +135,8 @@ config BR2_PACKAGE_OPENCV_WITH_FFMPEG
|
||||
help
|
||||
Use ffmpeg from the target system.
|
||||
|
||||
choice
|
||||
prompt "gstreamer support"
|
||||
help
|
||||
OpenCV prefers gstreamer-1 over gstreamer-0.10.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITHOUT_GSTREAMER
|
||||
bool "none"
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
||||
bool "gstreamer-0.10"
|
||||
bool "gstreamer support"
|
||||
depends on BR2_USE_MMU # gstreamer -> libglib2
|
||||
depends on BR2_USE_WCHAR # gstreamer -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
|
||||
@@ -268,24 +144,20 @@ config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
||||
|
||||
comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
|
||||
comment "gstreamer support needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER1
|
||||
bool "gstreamer-1.x"
|
||||
depends on BR2_USE_MMU # gstreamer1 -> libglib2
|
||||
depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
||||
|
||||
comment "gstreamer-1.x support needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endchoice
|
||||
config BR2_PACKAGE_OPENCV_WITH_GTK
|
||||
bool "gtk support"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_WCHAR # libgtk2 -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # libgtk2 -> glib2
|
||||
depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
|
||||
depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
select BR2_PACKAGE_LIBGTK2
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_JASPER
|
||||
bool "jpeg2000 support"
|
||||
@@ -309,6 +181,18 @@ config BR2_PACKAGE_OPENCV_WITH_PNG
|
||||
help
|
||||
Use shared libpng from the target system.
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_QT
|
||||
bool "qt backend support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # qt
|
||||
depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
|
||||
select BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_STL
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
select BR2_PACKAGE_QT_TEST
|
||||
help
|
||||
Use Qt with QtTest module and STL support
|
||||
|
||||
config BR2_PACKAGE_OPENCV_WITH_TIFF
|
||||
bool "tiff support"
|
||||
select BR2_PACKAGE_TIFF
|
||||
@@ -335,9 +219,5 @@ config BR2_PACKAGE_OPENCV_INSTALL_DATA
|
||||
|
||||
endif # BR2_PACKAGE_OPENCV
|
||||
|
||||
comment "opencv needs a toolchain w/ C++, NPTL, wchar, dynamic library"
|
||||
depends on !BR2_xtensa
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
BR2_STATIC_LIBS
|
||||
comment "opencv needs a toolchain w/ C++, NPTL, wchar"
|
||||
depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENCV_VERSION = 3.0.0
|
||||
OPENCV_VERSION = 2.4.10
|
||||
OPENCV_SITE = $(call github,itseez,opencv,$(OPENCV_VERSION))
|
||||
OPENCV_INSTALL_STAGING = YES
|
||||
OPENCV_LICENSE = BSD-3c
|
||||
@@ -12,28 +12,19 @@ OPENCV_LICENSE_FILES = LICENSE
|
||||
|
||||
# OpenCV component options
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_DOCS=OFF \
|
||||
-DBUILD_PERF_TESTS=$(if $(BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS),ON,OFF) \
|
||||
-DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV_BUILD_TESTS),ON,OFF) \
|
||||
-DBUILD_WITH_DEBUG_INFO=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_BUILD_TESTS)$(BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS),)
|
||||
OPENCV_CONF_OPTS += -DINSTALL_TEST=OFF
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DINSTALL_TEST=ON
|
||||
endif
|
||||
|
||||
# OpenCV build options
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_WITH_STATIC_CRT=OFF \
|
||||
-DENABLE_COVERAGE=OFF \
|
||||
-DENABLE_FAST_MATH=ON \
|
||||
-DENABLE_IMPL_COLLECTION=OFF \
|
||||
-DENABLE_NOISY_WARNINGS=OFF \
|
||||
-DENABLE_OMIT_FRAME_POINTER=ON \
|
||||
-DENABLE_PRECOMPILED_HEADERS=OFF \
|
||||
-DENABLE_PROFILING=OFF \
|
||||
-DOPENCV_WARNINGS_ARE_ERRORS=OFF
|
||||
-DOPENCV_CAN_BREAK_BINARY_COMPATIBILITY=ON
|
||||
|
||||
# OpenCV link options
|
||||
OPENCV_CONF_OPTS += \
|
||||
@@ -48,59 +39,40 @@ OPENCV_CONF_OPTS += \
|
||||
-DINSTALL_CREATE_DISTRIB=OFF
|
||||
|
||||
# OpenCV module selection
|
||||
# * Modules on:
|
||||
# - core: if not set, opencv does not build anything
|
||||
# - hal: core's dependency
|
||||
# * Modules off:
|
||||
# - android*: android stuff
|
||||
# - apps: programs for training classifiers
|
||||
# - java: java bindings
|
||||
# - viz: missing VTK dependency
|
||||
# - world: all-in-one module
|
||||
#
|
||||
# * Contrib modules from [1] are disabled:
|
||||
# - opencv_contrib package is not available in Buildroot;
|
||||
# - OPENCV_EXTRA_MODULES_PATH is not set.
|
||||
#
|
||||
# [1] https://github.com/Itseez/opencv_contrib
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_opencv_androidcamera=OFF \
|
||||
-DBUILD_opencv_apps=OFF \
|
||||
-DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV_LIB_CALIB3D),ON,OFF) \
|
||||
-DBUILD_opencv_contrib=$(if $(BR2_PACKAGE_OPENCV_LIB_CONTRIB),ON,OFF) \
|
||||
-DBUILD_opencv_core=ON \
|
||||
-DBUILD_opencv_dynamicuda=OFF \
|
||||
-DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV_LIB_FEATURES2D),ON,OFF) \
|
||||
-DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV_LIB_FLANN),ON,OFF) \
|
||||
-DBUILD_opencv_hal=ON \
|
||||
-DBUILD_opencv_gpu=$(if $(BR2_PACKAGE_OPENCV_LIB_GPU),ON,OFF) \
|
||||
-DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV_LIB_HIGHGUI),ON,OFF) \
|
||||
-DBUILD_opencv_imgcodecs=$(if $(BR2_PACKAGE_OPENCV_LIB_IMGCODECS),ON,OFF) \
|
||||
-DBUILD_opencv_imgproc=$(if $(BR2_PACKAGE_OPENCV_LIB_IMGPROC),ON,OFF) \
|
||||
-DBUILD_opencv_java=OFF \
|
||||
-DBUILD_opencv_legacy=$(if $(BR2_PACKAGE_OPENCV_LIB_LEGACY),ON,OFF) \
|
||||
-DBUILD_opencv_ml=$(if $(BR2_PACKAGE_OPENCV_LIB_ML),ON,OFF) \
|
||||
-DBUILD_opencv_nonfree=$(if $(BR2_PACKAGE_OPENCV_LIB_NONFREE),ON,OFF) \
|
||||
-DBUILD_opencv_objdetect=$(if $(BR2_PACKAGE_OPENCV_LIB_OBJDETECT),ON,OFF) \
|
||||
-DBUILD_opencv_ocl=OFF \
|
||||
-DBUILD_opencv_photo=$(if $(BR2_PACKAGE_OPENCV_LIB_PHOTO),ON,OFF) \
|
||||
-DBUILD_opencv_shape=$(if $(BR2_PACKAGE_OPENCV_LIB_SHAPE),ON,OFF) \
|
||||
-DBUILD_opencv_python=OFF \
|
||||
-DBUILD_opencv_stitching=$(if $(BR2_PACKAGE_OPENCV_LIB_STITCHING),ON,OFF) \
|
||||
-DBUILD_opencv_superres=$(if $(BR2_PACKAGE_OPENCV_LIB_SUPERRES),ON,OFF) \
|
||||
-DBUILD_opencv_ts=$(if $(BR2_PACKAGE_OPENCV_LIB_TS),ON,OFF) \
|
||||
-DBUILD_opencv_video=$(if $(BR2_PACKAGE_OPENCV_LIB_VIDEO),ON,OFF) \
|
||||
-DBUILD_opencv_videoio=$(if $(BR2_PACKAGE_OPENCV_LIB_VIDEOIO),ON,OFF) \
|
||||
-DBUILD_opencv_videostab=$(if $(BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB),ON,OFF) \
|
||||
-DBUILD_opencv_viz=OFF \
|
||||
-DBUILD_opencv_world=OFF
|
||||
|
||||
# Hardware support options.
|
||||
#
|
||||
# * PowerPC support is turned off since its only effect is altering CFLAGS,
|
||||
# adding '-mcpu=G3 -mtune=G5' to them, which is already handled by Buildroot.
|
||||
# * fma3 and popcnt support is disabled because according to gcc manual [2], it
|
||||
# is only available on x86_64 haswell, broadwell and knl architecture.
|
||||
#
|
||||
# [2] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/x86-Options.html#x86-Options
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DENABLE_AVX=$(if $(BR2_X86_CPU_HAS_AVX),ON,OFF) \
|
||||
-DENABLE_AVX2=$(if $(BR2_X86_CPU_HAS_AVX2),ON,OFF) \
|
||||
-DENABLE_FMA3=OFF \
|
||||
-DENABLE_POPCNT=OFF \
|
||||
-DENABLE_POWERPC=OFF \
|
||||
-DENABLE_SSE=$(if $(BR2_X86_CPU_HAS_SSE),ON,OFF) \
|
||||
-DENABLE_SSE2=$(if $(BR2_X86_CPU_HAS_SSE2),ON,OFF) \
|
||||
@@ -111,19 +83,6 @@ OPENCV_CONF_OPTS += \
|
||||
|
||||
# Cuda stuff
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_CUDA_STUBS=OFF \
|
||||
-DBUILD_opencv_cudaarithm=OFF \
|
||||
-DBUILD_opencv_cudabgsegm=OFF \
|
||||
-DBUILD_opencv_cudacodec=OFF \
|
||||
-DBUILD_opencv_cudafeatures2d=OFF \
|
||||
-DBUILD_opencv_cudafilters=OFF \
|
||||
-DBUILD_opencv_cudaimgproc=OFF \
|
||||
-DBUILD_opencv_cudalegacy=OFF \
|
||||
-DBUILD_opencv_cudaobjdetect=OFF \
|
||||
-DBUILD_opencv_cudaoptflow=OFF \
|
||||
-DBUILD_opencv_cudastereo=OFF \
|
||||
-DBUILD_opencv_cudawarping=OFF \
|
||||
-DBUILD_opencv_cudev=OFF \
|
||||
-DWITH_CUBLAS=OFF \
|
||||
-DWITH_CUDA=OFF \
|
||||
-DWITH_CUFFT=OFF
|
||||
@@ -138,10 +97,8 @@ OPENCV_CONF_OPTS += \
|
||||
|
||||
# Intel stuff
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_WITH_DYNAMIC_IPP=OFF \
|
||||
-DWITH_INTELPERC=OFF \
|
||||
-DWITH_IPP=OFF \
|
||||
-DWITH_IPP_A=OFF \
|
||||
-DWITH_TBB=OFF
|
||||
|
||||
# Smartek stuff
|
||||
@@ -155,11 +112,10 @@ OPENCV_CONF_OPTS += -DWITH_XIMEA=OFF
|
||||
|
||||
# Non-Linux support (Android options) must remain OFF:
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DANDROID=OFF \
|
||||
-DBUILD_ANDROID_CAMERA_WRAPPER=OFF \
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF \
|
||||
-DBUILD_ANDROID_SERVICE=OFF \
|
||||
-DBUILD_FAT_JAVA_LIB=OFF \
|
||||
-DBUILD_JAVA_SUPPORT=OFF \
|
||||
-DINSTALL_ANDROID_EXAMPLES=OFF \
|
||||
-DWITH_ANDROID_CAMERA=OFF
|
||||
|
||||
@@ -174,17 +130,15 @@ OPENCV_CONF_OPTS += \
|
||||
-DWITH_CSTRIPES=OFF \
|
||||
-DWITH_DSHOW=OFF \
|
||||
-DWITH_MSMF=OFF \
|
||||
-DWITH_PTHREADS_PF=OFF \
|
||||
-DWITH_VFW=OFF \
|
||||
-DWITH_VIDEOINPUT=OFF \
|
||||
-DWITH_WIN32UI=OFF
|
||||
|
||||
# Software/3rd-party support options:
|
||||
# - disable all examples
|
||||
# Software/3rd-party support options.
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_JASPER=OFF \
|
||||
-DBUILD_JPEG=OFF \
|
||||
-DBUILD_NEW_PYTHON_SUPPORT=OFF \
|
||||
-DBUILD_OPENEXR=OFF \
|
||||
-DBUILD_PNG=OFF \
|
||||
-DBUILD_TIFF=OFF \
|
||||
@@ -197,20 +151,14 @@ OPENCV_CONF_OPTS += \
|
||||
# - eigen: OpenCV does not use it, not take any benefit from it.
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DWITH_1394=OFF \
|
||||
-DWITH_CLP=OFF \
|
||||
-DWITH_EIGEN=OFF \
|
||||
-DWITH_GDAL=OFF \
|
||||
-DWITH_GPHOTO2=OFF \
|
||||
-DWITH_IMAGEIO=OFF \
|
||||
-DWITH_OPENCL=OFF \
|
||||
-DWITH_OPENCL_SVM=OFF \
|
||||
-DWITH_OPENEXR=OFF \
|
||||
-DWITH_OPENGL=OFF \
|
||||
-DWITH_OPENMP=OFF \
|
||||
-DWITH_OPENNI2=OFF \
|
||||
-DWITH_OPENNI=OFF \
|
||||
-DWITH_UNICAP=OFF \
|
||||
-DWITH_VTK=OFF \
|
||||
-DWITH_WEBP=OFF \
|
||||
-DWITH_XINE=OFF
|
||||
|
||||
OPENCV_DEPENDENCIES += zlib
|
||||
@@ -223,31 +171,17 @@ OPENCV_CONF_OPTS += -DWITH_FFMPEG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_GSTREAMER),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_GSTREAMER_0_10=ON
|
||||
OPENCV_DEPENDENCIES += gstreamer gst-plugins-base
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_GSTREAMER_0_10=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_GSTREAMER1),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_GSTREAMER=ON
|
||||
OPENCV_DEPENDENCIES += gstreamer1 gst1-plugins-base
|
||||
OPENCV_DEPENDENCIES += gstreamer gst-plugins-base
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_GSTREAMER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_GTK)$(BR2_PACKAGE_OPENCV_WITH_GTK3),)
|
||||
OPENCV_CONF_OPTS += -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_GTK),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=ON
|
||||
OPENCV_CONF_OPTS += -DWITH_GTK=ON
|
||||
OPENCV_DEPENDENCIES += libgtk2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_GTK3),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=OFF
|
||||
OPENCV_DEPENDENCIES += libgtk3
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_GTK=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_JASPER),y)
|
||||
@@ -264,15 +198,6 @@ else
|
||||
OPENCV_CONF_OPTS += -DWITH_JPEG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_OPENGL),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_OPENGL=ON
|
||||
OPENCV_DEPENDENCIES += libgl
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_OPENGL=OFF
|
||||
endif
|
||||
|
||||
OPENCV_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_PNG),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_PNG=ON
|
||||
OPENCV_DEPENDENCIES += libpng
|
||||
@@ -280,18 +205,11 @@ else
|
||||
OPENCV_CONF_OPTS += -DWITH_PNG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_QT)$(BR2_PACKAGE_OPENCV_WITH_QT5),)
|
||||
OPENCV_CONF_OPTS += -DWITH_QT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_QT),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_QT=4
|
||||
OPENCV_DEPENDENCIES += qt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_QT5),y)
|
||||
OPENCV_CONF_OPTS += -DWITH_QT=5
|
||||
OPENCV_DEPENDENCIES += qt5base
|
||||
else
|
||||
OPENCV_CONF_OPTS += -DWITH_QT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_WITH_TIFF),y)
|
||||
@@ -310,37 +228,6 @@ else
|
||||
OPENCV_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV_LIB_PYTHON),y)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=ON \
|
||||
-DBUILD_opencv_python3=OFF \
|
||||
-DPYTHON2_EXECUTABLE=$(HOST_DIR)/usr/bin/python2 \
|
||||
-DPYTHON2_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \
|
||||
-DPYTHON2_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR).so \
|
||||
-DPYTHON2_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||
-DPYTHON2_PACKAGES_PATH=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
-DPYTHON2_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)
|
||||
OPENCV_DEPENDENCIES += python
|
||||
else
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=OFF \
|
||||
-DBUILD_opencv_python3=ON \
|
||||
-DPYTHON3_EXECUTABLE=$(HOST_DIR)/usr/bin/python3 \
|
||||
-DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m \
|
||||
-DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)m.so \
|
||||
-DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||
-DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
|
||||
-DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)
|
||||
OPENCV_DEPENDENCIES += python3
|
||||
endif
|
||||
OPENCV_DEPENDENCIES += python-numpy
|
||||
else
|
||||
OPENCV_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=OFF \
|
||||
-DBUILD_opencv_python3=OFF
|
||||
endif
|
||||
|
||||
# Installation hooks:
|
||||
define OPENCV_CLEAN_INSTALL_DOC
|
||||
$(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/doc
|
||||
|
||||
344
package/opencv3/Config.in
Normal file
344
package/opencv3/Config.in
Normal file
@@ -0,0 +1,344 @@
|
||||
menuconfig BR2_PACKAGE_OPENCV3
|
||||
bool "opencv3"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on !BR2_STATIC_LIBS # include dlfcn.h
|
||||
# Causes some toolchain failures on Xtensa
|
||||
depends on !BR2_xtensa
|
||||
depends on !BR2_PACKAGE_OPENCV
|
||||
help
|
||||
OpenCV (Open Source Computer Vision) is a library of programming
|
||||
functions for real time computer vision.
|
||||
|
||||
Note that the opencv_core module and the opencv_hal library
|
||||
are always built and installed, not matter which other
|
||||
modules are enabled below.
|
||||
|
||||
http://opencv.org/
|
||||
|
||||
if BR2_PACKAGE_OPENCV3
|
||||
|
||||
comment "OpenCV modules"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
||||
bool "calib3d"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_calib3d (camera calibration and 3d reconstruction) module
|
||||
into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
||||
bool "features2d"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_FLANN
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_ML
|
||||
help
|
||||
Include opencv_features2d (2d features framework) module into the OpenCV
|
||||
build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_FLANN
|
||||
bool "flann"
|
||||
# opencv_core dependency is already enabled
|
||||
help
|
||||
Include opencv_flann (clustering and search in multi-dimensional spaces)
|
||||
module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
||||
bool "highgui"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_VIDEOIO
|
||||
help
|
||||
Include opencv_highgui (high-level gui and media i/o) module into the
|
||||
OpenCV build.
|
||||
|
||||
if BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
||||
|
||||
choice
|
||||
prompt "gui toolkit"
|
||||
help
|
||||
GUI toolkit to be used by the opencv_highgui module.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_GUI_NONE
|
||||
bool "none"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GTK
|
||||
bool "gtk2"
|
||||
depends on BR2_PACKAGE_LIBGTK2
|
||||
|
||||
comment "gtk2 support needs libgtk2"
|
||||
depends on BR2_USE_MMU # libgtk2 -> glib2
|
||||
depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
|
||||
depends on !BR2_PACKAGE_LIBGTK2
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GTK3
|
||||
bool "gtk3"
|
||||
depends on BR2_PACKAGE_LIBGTK3
|
||||
|
||||
comment "gtk3 support needs libgtk3"
|
||||
depends on BR2_USE_MMU # libgtk3 -> glib2
|
||||
depends on BR2_ARCH_HAS_ATOMICS # libgtk3 -> cairo
|
||||
depends on !BR2_PACKAGE_LIBGTK3
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_QT
|
||||
bool "qt4"
|
||||
depends on BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_STL
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
select BR2_PACKAGE_QT_TEST
|
||||
help
|
||||
Use Qt4 with QtTest and QtGui modules and STL support, as GUI toolkit.
|
||||
|
||||
comment "qt4 support needs qt"
|
||||
depends on BR2_USE_MMU # qt
|
||||
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_QT5
|
||||
bool "qt5"
|
||||
depends on BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_CONCURRENT
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
Use Qt5 with base, concurrent, test, gui and widgets components, as GUI
|
||||
toolkit.
|
||||
|
||||
comment "qt5 support needs qt5"
|
||||
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_OPENGL
|
||||
bool "opengl support"
|
||||
# OpenGL support done using Qt5OpenGL, so depends on WITH_QT5
|
||||
depends on BR2_PACKAGE_OPENCV3_WITH_QT5
|
||||
# OpenGL support requires Qt5OpenGL with GL support, not GLES
|
||||
depends on BR2_PACKAGE_QT5_GL_AVAILABLE
|
||||
depends on BR2_PACKAGE_HAS_LIBGL
|
||||
select BR2_PACKAGE_QT5BASE_OPENGL
|
||||
help
|
||||
Enable OpenGL for UI.
|
||||
|
||||
comment "opengl support needs an OpenGL provider"
|
||||
depends on BR2_PACKAGE_OPENCV3_WITH_QT5
|
||||
depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \
|
||||
!BR2_PACKAGE_HAS_LIBGL
|
||||
|
||||
endif # BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
||||
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
||||
bool "imgcodecs"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_imgcodecs (image codecs) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
bool "imgproc"
|
||||
# opencv_core dependency is already enabled
|
||||
help
|
||||
Include opencv_imgproc (image processing) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_ML
|
||||
bool "ml"
|
||||
# opencv_core dependency is already enabled
|
||||
help
|
||||
Include opencv_ml (machine learning) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
|
||||
bool "objdetect"
|
||||
# opencv_core dependency is already enabled
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_ML
|
||||
help
|
||||
Include opencv_objdetect (object detection) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_PHOTO
|
||||
bool "photo"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_photo (computational photography) module into the OpenCV
|
||||
build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_PYTHON
|
||||
bool "python"
|
||||
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
||||
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
|
||||
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|
||||
|| BR2_sh || BR2_x86_64 # python-numpy
|
||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64 # python-numpy
|
||||
select BR2_PACKAGE_PYTHON_NUMPY
|
||||
help
|
||||
Include opencv_python module into the OpenCV build.
|
||||
No python example is installed.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_SHAPE
|
||||
bool "shape"
|
||||
# opencv_core dependency is already enabled
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_VIDEO
|
||||
help
|
||||
Include opencv_shape (shape descriptors and matchers) module into the
|
||||
OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_STITCHING
|
||||
bool "stitching"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
|
||||
help
|
||||
Include opencv_stitching (images stitching) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_SUPERRES
|
||||
bool "superres"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_VIDEO
|
||||
help
|
||||
Include opencv_superres (super resolution) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_TS
|
||||
bool "ts"
|
||||
# opencv_core dependency is already enabled
|
||||
select BR2_PACKAGE_OPENCV3_LIB_HIGHGUI
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_VIDEOIO
|
||||
help
|
||||
Include opencv_ts (test) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_VIDEOIO
|
||||
bool "videoio"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGCODECS
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_videoio (media i/o) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_VIDEO
|
||||
bool "video"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
help
|
||||
Include opencv_video (video analysis) module into the OpenCV build.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_LIB_VIDEOSTAB
|
||||
bool "videostab"
|
||||
select BR2_PACKAGE_OPENCV3_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV3_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_PHOTO
|
||||
select BR2_PACKAGE_OPENCV3_LIB_VIDEO
|
||||
help
|
||||
Include opencv_videostab (video stabilization) module into the OpenCV
|
||||
build.
|
||||
|
||||
comment "Test sets"
|
||||
config BR2_PACKAGE_OPENCV3_BUILD_TESTS
|
||||
bool "build tests"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS
|
||||
bool "build performance tests"
|
||||
|
||||
comment "3rd party support"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_FFMPEG
|
||||
bool "ffmpeg support"
|
||||
select BR2_PACKAGE_BZIP2
|
||||
select BR2_PACKAGE_FFMPEG
|
||||
select BR2_PACKAGE_FFMPEG_SWSCALE
|
||||
help
|
||||
Use ffmpeg from the target system.
|
||||
|
||||
choice
|
||||
prompt "gstreamer support"
|
||||
help
|
||||
OpenCV prefers gstreamer-1 over gstreamer-0.10.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITHOUT_GSTREAMER
|
||||
bool "none"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER
|
||||
bool "gstreamer-0.10"
|
||||
depends on BR2_USE_MMU # gstreamer -> libglib2
|
||||
depends on BR2_USE_WCHAR # gstreamer -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
|
||||
select BR2_PACKAGE_GSTREAMER
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
||||
|
||||
comment "gstreamer-0.10 support needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER1
|
||||
bool "gstreamer-1.x"
|
||||
depends on BR2_USE_MMU # gstreamer1 -> libglib2
|
||||
depends on BR2_USE_WCHAR # gstreamer1 -> libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer1 -> libglib2
|
||||
select BR2_PACKAGE_GSTREAMER1
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
|
||||
|
||||
comment "gstreamer-1.x support needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_JASPER
|
||||
bool "jpeg2000 support"
|
||||
select BR2_PACKAGE_JASPER
|
||||
help
|
||||
Enable jpeg2000 support.
|
||||
|
||||
Note: this does not use the libjasper bundled with opencv,
|
||||
but uses the libjasper package installed system-wide by
|
||||
Buildroot.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_JPEG
|
||||
bool "jpeg support"
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
Use shared libjpeg from the target system.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_PNG
|
||||
bool "png support"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
help
|
||||
Use shared libpng from the target system.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_TIFF
|
||||
bool "tiff support"
|
||||
select BR2_PACKAGE_TIFF
|
||||
help
|
||||
Use shared libtiff from the target system.
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_WITH_V4L
|
||||
bool "v4l support"
|
||||
help
|
||||
Enable Video 4 Linux support.
|
||||
|
||||
If the package libv4l is enabled, its support is automatically enabled.
|
||||
|
||||
comment "Install options"
|
||||
|
||||
config BR2_PACKAGE_OPENCV3_INSTALL_DATA
|
||||
bool "install extra data"
|
||||
help
|
||||
Install various data that is used by cv libraries and/or demo
|
||||
applications, specifically for haarcascades and lbpcascades
|
||||
features.
|
||||
|
||||
For further information: see OpenCV documentation.
|
||||
|
||||
endif # BR2_PACKAGE_OPENCV3
|
||||
|
||||
comment "opencv3 needs a toolchain w/ C++, NPTL, wchar, dynamic library"
|
||||
depends on !BR2_xtensa
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
BR2_STATIC_LIBS
|
||||
363
package/opencv3/opencv3.mk
Normal file
363
package/opencv3/opencv3.mk
Normal file
@@ -0,0 +1,363 @@
|
||||
################################################################################
|
||||
#
|
||||
# opencv3
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENCV3_VERSION = 3.0.0
|
||||
OPENCV3_SITE = $(call github,itseez,opencv,$(OPENCV3_VERSION))
|
||||
OPENCV3_INSTALL_STAGING = YES
|
||||
OPENCV3_LICENSE = BSD-3c
|
||||
OPENCV3_LICENSE_FILES = LICENSE
|
||||
|
||||
# OpenCV component options
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_DOCS=OFF \
|
||||
-DBUILD_PERF_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),ON,OFF) \
|
||||
-DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_TESTS),ON,OFF) \
|
||||
-DBUILD_WITH_DEBUG_INFO=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_BUILD_TESTS)$(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),)
|
||||
OPENCV3_CONF_OPTS += -DINSTALL_TEST=OFF
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DINSTALL_TEST=ON
|
||||
endif
|
||||
|
||||
# OpenCV build options
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_WITH_STATIC_CRT=OFF \
|
||||
-DENABLE_COVERAGE=OFF \
|
||||
-DENABLE_FAST_MATH=ON \
|
||||
-DENABLE_IMPL_COLLECTION=OFF \
|
||||
-DENABLE_NOISY_WARNINGS=OFF \
|
||||
-DENABLE_OMIT_FRAME_POINTER=ON \
|
||||
-DENABLE_PRECOMPILED_HEADERS=OFF \
|
||||
-DENABLE_PROFILING=OFF \
|
||||
-DOPENCV3_WARNINGS_ARE_ERRORS=OFF
|
||||
|
||||
# OpenCV link options
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \
|
||||
-DCMAKE_SKIP_RPATH=OFF \
|
||||
-DCMAKE_USE_RELATIVE_PATHS=OFF
|
||||
|
||||
# OpenCV packaging options:
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_PACKAGE=OFF \
|
||||
-DENABLE_SOLUTION_FOLDERS=OFF \
|
||||
-DINSTALL_CREATE_DISTRIB=OFF
|
||||
|
||||
# OpenCV module selection
|
||||
# * Modules on:
|
||||
# - core: if not set, opencv does not build anything
|
||||
# - hal: core's dependency
|
||||
# * Modules off:
|
||||
# - android*: android stuff
|
||||
# - apps: programs for training classifiers
|
||||
# - java: java bindings
|
||||
# - viz: missing VTK dependency
|
||||
# - world: all-in-one module
|
||||
#
|
||||
# * Contrib modules from [1] are disabled:
|
||||
# - opencv_contrib package is not available in Buildroot;
|
||||
# - OPENCV3_EXTRA_MODULES_PATH is not set.
|
||||
#
|
||||
# [1] https://github.com/Itseez/opencv_contrib
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_opencv_androidcamera=OFF \
|
||||
-DBUILD_opencv_apps=OFF \
|
||||
-DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV3_LIB_CALIB3D),ON,OFF) \
|
||||
-DBUILD_opencv_core=ON \
|
||||
-DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV3_LIB_FEATURES2D),ON,OFF) \
|
||||
-DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV3_LIB_FLANN),ON,OFF) \
|
||||
-DBUILD_opencv_hal=ON \
|
||||
-DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV3_LIB_HIGHGUI),ON,OFF) \
|
||||
-DBUILD_opencv_imgcodecs=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGCODECS),ON,OFF) \
|
||||
-DBUILD_opencv_imgproc=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGPROC),ON,OFF) \
|
||||
-DBUILD_opencv_java=OFF \
|
||||
-DBUILD_opencv_ml=$(if $(BR2_PACKAGE_OPENCV3_LIB_ML),ON,OFF) \
|
||||
-DBUILD_opencv_objdetect=$(if $(BR2_PACKAGE_OPENCV3_LIB_OBJDETECT),ON,OFF) \
|
||||
-DBUILD_opencv_photo=$(if $(BR2_PACKAGE_OPENCV3_LIB_PHOTO),ON,OFF) \
|
||||
-DBUILD_opencv_shape=$(if $(BR2_PACKAGE_OPENCV3_LIB_SHAPE),ON,OFF) \
|
||||
-DBUILD_opencv_stitching=$(if $(BR2_PACKAGE_OPENCV3_LIB_STITCHING),ON,OFF) \
|
||||
-DBUILD_opencv_superres=$(if $(BR2_PACKAGE_OPENCV3_LIB_SUPERRES),ON,OFF) \
|
||||
-DBUILD_opencv_ts=$(if $(BR2_PACKAGE_OPENCV3_LIB_TS),ON,OFF) \
|
||||
-DBUILD_opencv_video=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEO),ON,OFF) \
|
||||
-DBUILD_opencv_videoio=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOIO),ON,OFF) \
|
||||
-DBUILD_opencv_videostab=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOSTAB),ON,OFF) \
|
||||
-DBUILD_opencv_viz=OFF \
|
||||
-DBUILD_opencv_world=OFF
|
||||
|
||||
# Hardware support options.
|
||||
#
|
||||
# * PowerPC support is turned off since its only effect is altering CFLAGS,
|
||||
# adding '-mcpu=G3 -mtune=G5' to them, which is already handled by Buildroot.
|
||||
# * fma3 and popcnt support is disabled because according to gcc manual [2], it
|
||||
# is only available on x86_64 haswell, broadwell and knl architecture.
|
||||
#
|
||||
# [2] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/x86-Options.html#x86-Options
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DENABLE_AVX=$(if $(BR2_X86_CPU_HAS_AVX),ON,OFF) \
|
||||
-DENABLE_AVX2=$(if $(BR2_X86_CPU_HAS_AVX2),ON,OFF) \
|
||||
-DENABLE_FMA3=OFF \
|
||||
-DENABLE_POPCNT=OFF \
|
||||
-DENABLE_POWERPC=OFF \
|
||||
-DENABLE_SSE=$(if $(BR2_X86_CPU_HAS_SSE),ON,OFF) \
|
||||
-DENABLE_SSE2=$(if $(BR2_X86_CPU_HAS_SSE2),ON,OFF) \
|
||||
-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)
|
||||
|
||||
# Cuda stuff
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_CUDA_STUBS=OFF \
|
||||
-DBUILD_opencv_cudaarithm=OFF \
|
||||
-DBUILD_opencv_cudabgsegm=OFF \
|
||||
-DBUILD_opencv_cudacodec=OFF \
|
||||
-DBUILD_opencv_cudafeatures2d=OFF \
|
||||
-DBUILD_opencv_cudafilters=OFF \
|
||||
-DBUILD_opencv_cudaimgproc=OFF \
|
||||
-DBUILD_opencv_cudalegacy=OFF \
|
||||
-DBUILD_opencv_cudaobjdetect=OFF \
|
||||
-DBUILD_opencv_cudaoptflow=OFF \
|
||||
-DBUILD_opencv_cudastereo=OFF \
|
||||
-DBUILD_opencv_cudawarping=OFF \
|
||||
-DBUILD_opencv_cudev=OFF \
|
||||
-DWITH_CUBLAS=OFF \
|
||||
-DWITH_CUDA=OFF \
|
||||
-DWITH_CUFFT=OFF
|
||||
|
||||
# NVidia stuff
|
||||
OPENCV3_CONF_OPTS += -DWITH_NVCUVID=OFF
|
||||
|
||||
# AMD stuff
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DWITH_OPENCLAMDBLAS=OFF \
|
||||
-DWITH_OPENCLAMDFFT=OFF
|
||||
|
||||
# Intel stuff
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_WITH_DYNAMIC_IPP=OFF \
|
||||
-DWITH_INTELPERC=OFF \
|
||||
-DWITH_IPP=OFF \
|
||||
-DWITH_IPP_A=OFF \
|
||||
-DWITH_TBB=OFF
|
||||
|
||||
# Smartek stuff
|
||||
OPENCV3_CONF_OPTS += -DWITH_GIGEAPI=OFF
|
||||
|
||||
# Prosilica stuff
|
||||
OPENCV3_CONF_OPTS += -DWITH_PVAPI=OFF
|
||||
|
||||
# Ximea stuff
|
||||
OPENCV3_CONF_OPTS += -DWITH_XIMEA=OFF
|
||||
|
||||
# Non-Linux support (Android options) must remain OFF:
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DANDROID=OFF \
|
||||
-DBUILD_ANDROID_CAMERA_WRAPPER=OFF \
|
||||
-DBUILD_ANDROID_EXAMPLES=OFF \
|
||||
-DBUILD_ANDROID_SERVICE=OFF \
|
||||
-DBUILD_FAT_JAVA_LIB=OFF \
|
||||
-DINSTALL_ANDROID_EXAMPLES=OFF \
|
||||
-DWITH_ANDROID_CAMERA=OFF
|
||||
|
||||
# Non-Linux support (Mac OSX options) must remain OFF:
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DWITH_AVFOUNDATION=OFF \
|
||||
-DWITH_CARBON=OFF \
|
||||
-DWITH_QUICKTIME=OFF
|
||||
|
||||
# Non-Linux support (Windows options) must remain OFF:
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DWITH_CSTRIPES=OFF \
|
||||
-DWITH_DSHOW=OFF \
|
||||
-DWITH_MSMF=OFF \
|
||||
-DWITH_PTHREADS_PF=OFF \
|
||||
-DWITH_VFW=OFF \
|
||||
-DWITH_VIDEOINPUT=OFF \
|
||||
-DWITH_WIN32UI=OFF
|
||||
|
||||
# Software/3rd-party support options:
|
||||
# - disable all examples
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_JASPER=OFF \
|
||||
-DBUILD_JPEG=OFF \
|
||||
-DBUILD_OPENEXR=OFF \
|
||||
-DBUILD_PNG=OFF \
|
||||
-DBUILD_TIFF=OFF \
|
||||
-DBUILD_ZLIB=OFF \
|
||||
-DINSTALL_C_EXAMPLES=OFF \
|
||||
-DINSTALL_PYTHON_EXAMPLES=OFF \
|
||||
-DINSTALL_TO_MANGLED_PATHS=OFF
|
||||
|
||||
# Disabled features (mostly because they are not available in Buildroot), but
|
||||
# - eigen: OpenCV does not use it, not take any benefit from it.
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DWITH_1394=OFF \
|
||||
-DWITH_CLP=OFF \
|
||||
-DWITH_EIGEN=OFF \
|
||||
-DWITH_GDAL=OFF \
|
||||
-DWITH_GPHOTO2=OFF \
|
||||
-DWITH_OPENCL=OFF \
|
||||
-DWITH_OPENCL_SVM=OFF \
|
||||
-DWITH_OPENEXR=OFF \
|
||||
-DWITH_OPENGL=OFF \
|
||||
-DWITH_OPENMP=OFF \
|
||||
-DWITH_OPENNI2=OFF \
|
||||
-DWITH_OPENNI=OFF \
|
||||
-DWITH_UNICAP=OFF \
|
||||
-DWITH_VTK=OFF \
|
||||
-DWITH_WEBP=OFF \
|
||||
-DWITH_XINE=OFF
|
||||
|
||||
OPENCV3_DEPENDENCIES += zlib
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_FFMPEG=ON
|
||||
OPENCV3_DEPENDENCIES += ffmpeg bzip2
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_FFMPEG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GSTREAMER),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_GSTREAMER_0_10=ON
|
||||
OPENCV3_DEPENDENCIES += gstreamer gst-plugins-base
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_GSTREAMER_0_10=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GSTREAMER1),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=ON
|
||||
OPENCV3_DEPENDENCIES += gstreamer1 gst1-plugins-base
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK)$(BR2_PACKAGE_OPENCV3_WITH_GTK3),)
|
||||
OPENCV3_CONF_OPTS += -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=ON
|
||||
OPENCV3_DEPENDENCIES += libgtk2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK3),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=OFF
|
||||
OPENCV3_DEPENDENCIES += libgtk3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JASPER),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_JASPER=ON
|
||||
OPENCV3_DEPENDENCIES += jasper
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_JASPER=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JPEG),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_JPEG=ON
|
||||
OPENCV3_DEPENDENCIES += jpeg
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_JPEG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_OPENGL),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_OPENGL=ON
|
||||
OPENCV3_DEPENDENCIES += libgl
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_OPENGL=OFF
|
||||
endif
|
||||
|
||||
OPENCV3_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PNG),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_PNG=ON
|
||||
OPENCV3_DEPENDENCIES += libpng
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_PNG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_QT)$(BR2_PACKAGE_OPENCV3_WITH_QT5),)
|
||||
OPENCV3_CONF_OPTS += -DWITH_QT=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_QT),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_QT=4
|
||||
OPENCV3_DEPENDENCIES += qt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_QT5),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_QT=5
|
||||
OPENCV3_DEPENDENCIES += qt5base
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_TIFF),y)
|
||||
OPENCV3_CONF_OPTS += -DWITH_TIFF=ON
|
||||
OPENCV3_DEPENDENCIES += tiff
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_TIFF=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_V4L),y)
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DWITH_LIBV4L=$(if $(BR2_PACKAGE_LIBV4L),ON,OFF) \
|
||||
-DWITH_V4L=ON
|
||||
OPENCV3_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBV4L),libv4l)
|
||||
else
|
||||
OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=ON \
|
||||
-DBUILD_opencv_python3=OFF \
|
||||
-DPYTHON2_EXECUTABLE=$(HOST_DIR)/usr/bin/python2 \
|
||||
-DPYTHON2_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) \
|
||||
-DPYTHON2_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR).so \
|
||||
-DPYTHON2_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||
-DPYTHON2_PACKAGES_PATH=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
-DPYTHON2_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)
|
||||
OPENCV3_DEPENDENCIES += python
|
||||
else
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=OFF \
|
||||
-DBUILD_opencv_python3=ON \
|
||||
-DPYTHON3_EXECUTABLE=$(HOST_DIR)/usr/bin/python3 \
|
||||
-DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m \
|
||||
-DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)m.so \
|
||||
-DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \
|
||||
-DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
|
||||
-DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION)
|
||||
OPENCV3_DEPENDENCIES += python3
|
||||
endif
|
||||
OPENCV3_DEPENDENCIES += python-numpy
|
||||
else
|
||||
OPENCV3_CONF_OPTS += \
|
||||
-DBUILD_opencv_python2=OFF \
|
||||
-DBUILD_opencv_python3=OFF
|
||||
endif
|
||||
|
||||
# Installation hooks:
|
||||
define OPENCV3_CLEAN_INSTALL_DOC
|
||||
$(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/doc
|
||||
endef
|
||||
OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_DOC
|
||||
|
||||
define OPENCV3_CLEAN_INSTALL_CMAKE
|
||||
$(RM) -f $(TARGET_DIR)/usr/share/OpenCV/OpenCVConfig*.cmake
|
||||
endef
|
||||
OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_CMAKE
|
||||
|
||||
ifneq ($(BR2_PACKAGE_OPENCV3_INSTALL_DATA),y)
|
||||
define OPENCV3_CLEAN_INSTALL_DATA
|
||||
$(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/haarcascades \
|
||||
$(TARGET_DIR)/usr/share/OpenCV/lbpcascades
|
||||
endef
|
||||
OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_DATA
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
@@ -1,3 +1,4 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# Also from http://www.openssh.com/txt/release-6.9 (sha256 is base64 encoded)
|
||||
sha256 6e074df538f357d440be6cf93dc581a21f22d39e236f217fcd8eacbb6c896cfe openssh-6.9p1.tar.gz
|
||||
# Also from http://www.openssh.com/txt/release-7.1 (sha256 is base64 encoded)
|
||||
# Decode with -> echo <encoded stuff>|base64 -d|hexdump -v -e '/1 "%02x"'
|
||||
sha256 fc0a6d2d1d063d5c66dffd952493d0cda256cad204f681de0f84ef85b2ad8428 openssh-7.1p1.tar.gz
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENSSH_VERSION = 6.9p1
|
||||
OPENSSH_VERSION = 7.1p1
|
||||
OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
|
||||
OPENSSH_LICENSE = BSD-3c BSD-2c Public Domain
|
||||
OPENSSH_LICENSE_FILES = LICENCE
|
||||
@@ -26,6 +26,10 @@ endef
|
||||
ifeq ($(BR2_arc),y)
|
||||
OPENSSH_CONF_OPTS += --without-pie
|
||||
endif
|
||||
# PIE and static does not work on Linux
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
OPENSSH_CONF_OPTS += --without-pie
|
||||
endif
|
||||
|
||||
OPENSSH_DEPENDENCIES = zlib openssl
|
||||
|
||||
|
||||
@@ -36,11 +36,12 @@ config BR2_PACKAGE_OPENVMTOOLS_PAM
|
||||
# linux-pam needs locale and wchar, but we already have this
|
||||
# dependency on the main symbol, above.
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
help
|
||||
Support for PAM in openvmtools
|
||||
|
||||
comment "PAM support needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
comment "PAM support needs a uClibc or (e)glibc toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
PERL_FILE_LISTING_VERSION = 6.04
|
||||
PERL_FILE_LISTING_SOURCE = File-Listing-$(PERL_FILE_LISTING_VERSION).tar.gz
|
||||
PERL_FILE_LISTING_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
|
||||
PERL_FILE_LISTING_DEPENDENCIES = perl-http-date
|
||||
PERL_FILE_LISTING_DEPENDENCIES = perl perl-http-date
|
||||
PERL_FILE_LISTING_LICENSE = Artistic or GPLv1+
|
||||
PERL_FILE_LISTING_LICENSE_FILES = README
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_PERL_HTTP_COOKIES
|
||||
bool "perl-http-cookies"
|
||||
select BR2_PACKAGE_PERL_HTTP_DATE
|
||||
select BR2_PACKAGE_PERL_HTTP_MESSAGE
|
||||
help
|
||||
Objects that represent a "cookie jar"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
PERL_HTTP_COOKIES_VERSION = 6.01
|
||||
PERL_HTTP_COOKIES_SOURCE = HTTP-Cookies-$(PERL_HTTP_COOKIES_VERSION).tar.gz
|
||||
PERL_HTTP_COOKIES_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
|
||||
PERL_HTTP_COOKIES_DEPENDENCIES = perl-http-message
|
||||
PERL_HTTP_COOKIES_DEPENDENCIES = perl perl-http-date perl-http-message
|
||||
PERL_HTTP_COOKIES_LICENSE = Artistic or GPLv1+
|
||||
PERL_HTTP_COOKIES_LICENSE_FILES = README
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_PERL_HTTP_DAEMON
|
||||
bool "perl-http-daemon"
|
||||
select BR2_PACKAGE_PERL_HTTP_DATE
|
||||
select BR2_PACKAGE_PERL_HTTP_MESSAGE
|
||||
select BR2_PACKAGE_PERL_LWP_MEDIATYPES
|
||||
help
|
||||
Instances of the `HTTP::Daemon' class are HTTP/1.1 servers that listen
|
||||
on a socket for incoming requests.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
PERL_HTTP_DAEMON_VERSION = 6.01
|
||||
PERL_HTTP_DAEMON_SOURCE = HTTP-Daemon-$(PERL_HTTP_DAEMON_VERSION).tar.gz
|
||||
PERL_HTTP_DAEMON_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
|
||||
PERL_HTTP_DAEMON_DEPENDENCIES = perl-http-message
|
||||
PERL_HTTP_DAEMON_DEPENDENCIES = perl perl-http-date perl-http-message perl-lwp-mediatypes
|
||||
PERL_HTTP_DAEMON_LICENSE = Artistic or GPLv1+
|
||||
PERL_HTTP_DAEMON_LICENSE_FILES = README
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
PERL_HTTP_NEGOTIATE_VERSION = 6.01
|
||||
PERL_HTTP_NEGOTIATE_SOURCE = HTTP-Negotiate-$(PERL_HTTP_NEGOTIATE_VERSION).tar.gz
|
||||
PERL_HTTP_NEGOTIATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
|
||||
PERL_HTTP_NEGOTIATE_DEPENDENCIES = perl-http-message
|
||||
PERL_HTTP_NEGOTIATE_DEPENDENCIES = perl perl-http-message
|
||||
PERL_HTTP_NEGOTIATE_LICENSE = Artistic or GPLv1+
|
||||
PERL_HTTP_NEGOTIATE_LICENSE_FILES = README
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_PERL_WWW_ROBOTRULES
|
||||
bool "perl-www-robotrules"
|
||||
select PERL_URI
|
||||
select BR2_PACKAGE_PERL_URI
|
||||
help
|
||||
This module provides functions that deal the date formats used by the
|
||||
HTTP protocol (and then some more)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
PERL_WWW_ROBOTRULES_VERSION = 6.02
|
||||
PERL_WWW_ROBOTRULES_SOURCE = WWW-RobotRules-$(PERL_WWW_ROBOTRULES_VERSION).tar.gz
|
||||
PERL_WWW_ROBOTRULES_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS
|
||||
PERL_WWW_ROBOTRULES_DEPENDENCIES = perl-uri
|
||||
PERL_WWW_ROBOTRULES_DEPENDENCIES = perl perl-uri
|
||||
PERL_WWW_ROBOTRULES_LICENSE = Artistic or GPLv1+
|
||||
PERL_WWW_ROBOTRULES_LICENSE_FILES = README
|
||||
|
||||
|
||||
@@ -96,6 +96,16 @@ $$(error Internal error: no value specified for $(2)_KCONFIG_FILE)
|
||||
endif
|
||||
endif
|
||||
|
||||
# For the configurators, we do want to use the system-provided host
|
||||
# tools, not the ones we build. This is particularly true for
|
||||
# pkg-config; if we use our pkg-config (from host-pkgconf), then it
|
||||
# would not look for the .pc from the host, but we do need them,
|
||||
# especially to find ncurses, GTK+, Qt (resp. for menuconfig and
|
||||
# nconfig, gconfig, xconfig).
|
||||
# So we simply remove our PATH and PKG_CONFIG_* variables.
|
||||
$(2)_CONFIGURATOR_MAKE_ENV = \
|
||||
$$(filter-out PATH=% PKG_CONFIG=% PKG_CONFIG_SYSROOT_DIR=% PKG_CONFIG_LIBDIR=%,$$($(2)_MAKE_ENV))
|
||||
|
||||
# Configuration editors (menuconfig, ...)
|
||||
#
|
||||
# We need to apply the configuration fixups right after a configuration
|
||||
@@ -112,7 +122,7 @@ endif
|
||||
#
|
||||
$$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)): $(1)-%: $$($(2)_DIR)/.kconfig_editor_%
|
||||
$$($(2)_DIR)/.kconfig_editor_%: $$($(2)_DIR)/.stamp_kconfig_fixup_done
|
||||
$$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_DIR) \
|
||||
$$($(2)_CONFIGURATOR_MAKE_ENV) $$(MAKE) -C $$($(2)_DIR) \
|
||||
$$($(2)_KCONFIG_OPTS) $$(*)
|
||||
rm -f $$($(2)_DIR)/.stamp_{kconfig_fixup_done,configured,built}
|
||||
rm -f $$($(2)_DIR)/.stamp_{target,staging,images}_installed
|
||||
|
||||
@@ -9,7 +9,6 @@ PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can/get/
|
||||
PYTHON_CAN_SOURCE = $(PYTHON_CAN_VERSION).tar.bz2
|
||||
PYTHON_CAN_LICENSE = LGPLv3
|
||||
PYTHON_CAN_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_CAN_DEPENDENCIES = python
|
||||
PYTHON_CAN_SETUP_TYPE = setuptools
|
||||
|
||||
$(eval $(python-package))
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
comment "python-pam needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "python-pam needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS
|
||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
||||
BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_PYTHON_PAM
|
||||
bool "python-pam"
|
||||
@@ -8,6 +9,7 @@ config BR2_PACKAGE_PYTHON_PAM
|
||||
depends on BR2_ENABLE_LOCALE # linux-pam
|
||||
depends on BR2_USE_WCHAR # linux-pam
|
||||
depends on !BR2_STATIC_LIBS # linux-pam
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
help
|
||||
PAM (Pluggable Authentication Module) bindings for Python.
|
||||
|
||||
@@ -11,15 +11,16 @@ config BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_ARM_CPU_ARMV4
|
||||
default y
|
||||
|
||||
comment "Qt5 needs a toolchain w/ wchar, NPTL, C++"
|
||||
comment "Qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
|
||||
depends on !BR2_PACKAGE_QT
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
||||
|
||||
menuconfig BR2_PACKAGE_QT5
|
||||
bool "Qt5"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
help
|
||||
|
||||
49
package/qt5/qt5base/0009-fix-build-with-ccache.patch
Normal file
49
package/qt5/qt5base/0009-fix-build-with-ccache.patch
Normal file
@@ -0,0 +1,49 @@
|
||||
Fix QMAKE_CXX/CROSS_COMPILE verification with ccache
|
||||
|
||||
The use of ccache leads to QMAKE_CXX definitions of the form:
|
||||
|
||||
QMAKE_CXX = $${CCACHE} $${CROSS_COMPILE}g++
|
||||
|
||||
The previous test required QMAKE_CXX to be a single valid (absolute or
|
||||
QMAKE_PATH_ENV-relative) path to an existing file, which was not
|
||||
compatible with definitions of QMAKE_CXX like the one above.
|
||||
|
||||
Fix this by using only the first value in QMAKE_CXX, which usually
|
||||
points to the compiler executable, or to the ccache executable in the
|
||||
above case.
|
||||
|
||||
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
|
||||
---
|
||||
mkspecs/features/device_config.prf | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf
|
||||
index cd3a0cf..eee4ac6 100644
|
||||
--- a/mkspecs/features/device_config.prf
|
||||
+++ b/mkspecs/features/device_config.prf
|
||||
@@ -19,10 +19,15 @@ defineTest(deviceSanityCheckCompiler) {
|
||||
else: \
|
||||
sfx =
|
||||
|
||||
+ # Build the compiler filename using the first value in QMAKE_CXX in order to
|
||||
+ # support tools like ccache, which give QMAKE_CXX values of the form:
|
||||
+ # ccache <path_to_compiler>
|
||||
+ compiler = $$first(QMAKE_CXX)$$sfx
|
||||
+
|
||||
# Check if the binary exists with an absolute path. Do this check
|
||||
# before the CROSS_COMPILE empty check below to allow the mkspec
|
||||
# to derive the compiler path from other device options.
|
||||
- exists($$QMAKE_CXX$$sfx):return()
|
||||
+ exists($$compiler):return()
|
||||
|
||||
# Check for possible reasons of failure
|
||||
# check if CROSS_COMPILE device-option is set
|
||||
@@ -31,7 +36,7 @@ defineTest(deviceSanityCheckCompiler) {
|
||||
# Check if QMAKE_CXX points to an executable.
|
||||
ensurePathEnv()
|
||||
for (dir, QMAKE_PATH_ENV) {
|
||||
- exists($$dir/$${QMAKE_CXX}$$sfx): \
|
||||
+ exists($$dir/$${compiler}): \
|
||||
return()
|
||||
}
|
||||
|
||||
@@ -26,7 +26,8 @@ QT5BASE_CONFIGURE_OPTS += \
|
||||
-no-iconv \
|
||||
-system-zlib \
|
||||
-system-pcre \
|
||||
-no-pch
|
||||
-no-pch \
|
||||
-shared
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -debug
|
||||
@@ -34,14 +35,6 @@ else
|
||||
QT5BASE_CONFIGURE_OPTS += -release
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -static
|
||||
else
|
||||
# We apparently can't build both the shared and static variants of the
|
||||
# library.
|
||||
QT5BASE_CONFIGURE_OPTS += -shared
|
||||
endif
|
||||
|
||||
QT5BASE_CONFIGURE_OPTS += -largefile
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
|
||||
|
||||
@@ -21,6 +21,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += gst-plugins-base
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += gst1-plugins-base
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
|
||||
QT5MULTIMEDIA_DEPENDENCIES += qt5declarative
|
||||
@@ -40,7 +43,7 @@ define QT5MULTIMEDIA_INSTALL_STAGING_CMDS
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),)
|
||||
ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE),y)
|
||||
ifneq ($(BR2_PACKAGE_GST_PLUGINS_BASE)$(BR2_PACKAGE_GST1_PLUGINS_BASE),)
|
||||
define QT5MULTIMEDIA_INSTALL_TARGET_QGSTTOOLS_LIB
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libqgsttools*.so.* $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Please note that this is only a sample, we recommend you to change it to fit
|
||||
# your needs.
|
||||
# You should override this file using a post-build script.
|
||||
# See http://buildroot.org/downloads/manual/manual.html#rootfs-custom
|
||||
# See http://buildroot.org/manual.html#rootfs-custom
|
||||
# and http://elinux.org/RPiconfig for a description of config.txt syntax
|
||||
|
||||
kernel=zImage
|
||||
|
||||
@@ -16,11 +16,12 @@ config BR2_PACKAGE_RSH_REDONE_RLOGIND
|
||||
bool "rlogind"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
|
||||
comment "rlogind needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "rlogind needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||
|| BR2_STATIC_LIBS
|
||||
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_RSH_REDONE_RSH
|
||||
bool "rsh"
|
||||
@@ -29,10 +30,11 @@ config BR2_PACKAGE_RSH_REDONE_RSHD
|
||||
bool "rshd"
|
||||
depends on BR2_ENABLE_LOCALE && BR2_USE_WCHAR
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
|
||||
comment "rshd needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "rshd needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||
|| BR2_STATIC_LIBS
|
||||
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
endif
|
||||
|
||||
@@ -7,6 +7,7 @@ config BR2_PACKAGE_SETOOLS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
# bfin: infamous _ symbol prefix issue
|
||||
# nios2: triggers some toolchain issue "No symbol version
|
||||
# section for versioned symbol"
|
||||
@@ -25,7 +26,7 @@ config BR2_PACKAGE_SETOOLS
|
||||
* secmds - command-line tools to analyze and search SELinux
|
||||
policy.
|
||||
|
||||
comment "setools needs a toolchain w/ threads, C++, dynamic library"
|
||||
comment "setools needs a toolchain w/ threads, C++, wchar, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
||||
|| !BR2_INSTALL_LIBSTDCPP
|
||||
|| !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
|
||||
|
||||
@@ -55,7 +55,6 @@ config BR2_PACKAGE_SYSTEMD
|
||||
|
||||
The selection of other packages will enable some features:
|
||||
|
||||
- libglib2 package will add support for gudev.
|
||||
- acl package will add support for multi-seat.
|
||||
|
||||
http://freedesktop.org/wiki/Software/systemd
|
||||
|
||||
@@ -4,4 +4,4 @@ config BR2_PACKAGE_SYSVINIT
|
||||
help
|
||||
/sbin/init - parent of all processes
|
||||
|
||||
http://freshmeat.net/projects/sysvinit/
|
||||
http://savannah.nongnu.org/projects/sysvinit
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From 10d82df8d920ceec4be9028a4939f96d6f407e81 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Wed, 26 Aug 2015 09:20:13 +0200
|
||||
Subject: [PATCH] tinypcminfo: make function pcm_get_format_name() static
|
||||
|
||||
When building tinyalsa with gcc 5.x, the following warnings appear:
|
||||
|
||||
tinypcminfo.c:97:52: warning: 'format_lookup' is static but used in inline function 'pcm_get_format_name' which is not static
|
||||
return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
|
||||
^
|
||||
tinypcminfo.c:97:35: warning: 'format_lookup' is static but used in inline function 'pcm_get_format_name' which is not static
|
||||
return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
|
||||
|
||||
And the build fails with:
|
||||
|
||||
tinypcminfo.o: In function `main':
|
||||
tinypcminfo.c:(.text+0x2f0): undefined reference to `pcm_get_format_name'
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
To fix this, this patch marks the pcm_get_format_name() as static,
|
||||
since it's anyway only used in tinypcminfo.c.
|
||||
|
||||
Submitted upstream: https://github.com/tinyalsa/tinyalsa/pull/61
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
tinypcminfo.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tinypcminfo.c b/tinypcminfo.c
|
||||
index b2d11bc..99eec34 100644
|
||||
--- a/tinypcminfo.c
|
||||
+++ b/tinypcminfo.c
|
||||
@@ -92,7 +92,7 @@ static const char *format_lookup[] = {
|
||||
/* Returns a human readable name for the format associated with bit_index,
|
||||
* NULL if bit_index is not known.
|
||||
*/
|
||||
-inline const char *pcm_get_format_name(unsigned bit_index)
|
||||
+static inline const char *pcm_get_format_name(unsigned bit_index)
|
||||
{
|
||||
return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
|
||||
}
|
||||
--
|
||||
2.5.0
|
||||
|
||||
@@ -13,7 +13,8 @@ TN5250_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TN5250_CONF_OPTS += --with-ssl-dir=$(STAGING_DIR)/usr
|
||||
TN5250_DEPENDENCIES += openssl
|
||||
TN5250_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`"
|
||||
TN5250_DEPENDENCIES += openssl host-pkgconf
|
||||
else
|
||||
TN5250_CONF_OPTS += --without-ssl
|
||||
endif
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
||||
comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_TVHEADEND
|
||||
bool "tvheadend"
|
||||
depends on !BR2_STATIC_LIBS # dladdr()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
|
||||
select BR2_PACKAGE_DTV_SCAN_TABLES
|
||||
|
||||
@@ -66,13 +66,14 @@ config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH
|
||||
bool "chfn/chsh"
|
||||
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
help
|
||||
Change login shell, real user name and information
|
||||
|
||||
comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "chfn/chsh needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||
|| BR2_STATIC_LIBS
|
||||
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_CRAMFS
|
||||
bool "cramfs utilities"
|
||||
@@ -124,13 +125,14 @@ config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS
|
||||
bool "login utilities"
|
||||
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam
|
||||
select BR2_PACKAGE_LINUX_PAM
|
||||
help
|
||||
Build login utilities (last, login, su, sulogin)
|
||||
|
||||
comment "login utilities needs a toolchain w/ wchar, locale, dynamic library"
|
||||
comment "login utilities needs a uClibc or (e)glibc toolchain w/ wchar, locale, dynamic library"
|
||||
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|
||||
|| BR2_STATIC_LIBS
|
||||
|| BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_UTIL_LINUX_LOSETUP
|
||||
bool "losetup"
|
||||
|
||||
@@ -11,8 +11,8 @@ config BR2_PACKAGE_VLC
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
|
||||
select BR2_PACKAGE_LIBVORBIS if BR2_PACKAGE_OPUS
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC if BR2_PACKAGE_OPENCV
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT if BR2_PACKAGE_OPENCV
|
||||
select BR2_PACKAGE_VLC_OPENCV_BACKEND if BR2_PACKAGE_OPENCV
|
||||
select BR2_PACKAGE_VLC_OPENCV3_BACKEND if BR2_PACKAGE_OPENCV3
|
||||
help
|
||||
VLC is a free and open source cross-platform multimedia player
|
||||
and framework that plays most multimedia files as well as DVD,
|
||||
@@ -20,6 +20,16 @@ config BR2_PACKAGE_VLC
|
||||
|
||||
http://www.videolan.org/vlc/
|
||||
|
||||
config BR2_PACKAGE_VLC_OPENCV_BACKEND
|
||||
bool
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
|
||||
config BR2_PACKAGE_VLC_OPENCV3_BACKEND
|
||||
bool
|
||||
select BR2_PACKAGE_OPENCV3_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
|
||||
|
||||
comment "vlc needs a uclibc snapshot, uclibc-ng or (e)glibc toolchain w/ C++, wchar, threads, headers >= 3.7"
|
||||
depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_UCLIBC_VERSION_NG || BR2_TOOLCHAIN_USES_GLIBC) \
|
||||
|| !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
||||
|
||||
@@ -153,10 +153,14 @@ else
|
||||
VLC_CONF_OPTS += --disable-gles2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENCV),y)
|
||||
ifeq ($(BR2_PACKAGE_OPENCV)$(BR2_PACKAGE_OPENCV3),y)
|
||||
VLC_CONF_OPTS += --enable-opencv
|
||||
ifeq ($(BR2_PACKAGE_OPENCV),y)
|
||||
VLC_DEPENDENCIES += opencv
|
||||
else
|
||||
VLC_DEPENDENCIES += opencv3
|
||||
endif
|
||||
else
|
||||
VLC_CONF_OPTS += --disable-opencv
|
||||
endif
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Kernel modesettings support also depends on dri2, see
|
||||
http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46
|
||||
|
||||
Patch sent upstream: https://bugs.freedesktop.org/show_bug.cgi?id=91584
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac
|
||||
--- xorg-server-1.17.2.org/configure.ac 2015-06-16 17:42:40.000000000 +0200
|
||||
+++ xorg-server-1.17.2/configure.ac 2015-08-08 10:44:59.702382624 +0200
|
||||
@@ -2036,7 +2036,7 @@
|
||||
XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
|
||||
fi
|
||||
|
||||
- if test "x$DRM" = xyes; then
|
||||
+ if test "x$DRM" = xyes -a "x$DRI2" = xyes; then
|
||||
dnl 2.4.46 is required for cursor hotspot support.
|
||||
PKG_CHECK_EXISTS(libdrm >= 2.4.46)
|
||||
XORG_DRIVER_MODESETTING=yes
|
||||
@@ -92,6 +92,8 @@ choice
|
||||
|
||||
config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR
|
||||
bool "Modular X.org"
|
||||
select BR2_PACKAGE_LIBDRM if (BR2_PACKAGE_XPROTO_XF86DRIPROTO || \
|
||||
BR2_PACKAGE_XPROTO_DRI2PROTO)
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
This variant of the X.org server is the full-blown variant,
|
||||
|
||||
@@ -10,7 +10,10 @@ XSERVER_XORG_SERVER_SITE = http://xorg.freedesktop.org/releases/individual/xserv
|
||||
XSERVER_XORG_SERVER_LICENSE = MIT
|
||||
XSERVER_XORG_SERVER_LICENSE_FILES = COPYING
|
||||
XSERVER_XORG_SERVER_INSTALL_STAGING = YES
|
||||
# xfont_font-util is needed only for autoreconf
|
||||
XSERVER_XORG_SERVER_AUTORECONF = YES
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES = \
|
||||
xfont_font-util \
|
||||
xutil_util-macros \
|
||||
xlib_libXfont \
|
||||
xlib_libX11 \
|
||||
@@ -83,6 +86,12 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y)
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess
|
||||
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-libdrm
|
||||
else
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-libdrm
|
||||
endif
|
||||
else
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-xorg
|
||||
endif
|
||||
@@ -121,11 +130,12 @@ else # modular
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive --disable-xfbdev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-libdrm --enable-glx
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += libdrm mesa3d xproto_xf86driproto
|
||||
# libdrm locking macros use armv6+ instructions on arm
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER)n$(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5),yn)
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += mesa3d xproto_xf86driproto
|
||||
else
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-libdrm --disable-glx
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX),y)
|
||||
@@ -143,10 +153,9 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += udev
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev
|
||||
# udev kms support depends on libdrm
|
||||
ifeq ($(BR2_PACKAGE_LIBDRM),y)
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += libdrm
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms --enable-libdrm
|
||||
# udev kms support depends on libdrm and dri2
|
||||
ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_XPROTO_DRI2PROTO),yy)
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms
|
||||
else
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --disable-config-udev-kms
|
||||
endif
|
||||
@@ -195,7 +204,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_XPROTO_DRI3PROTO),y)
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence xproto_dri3proto
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
|
||||
XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy
|
||||
XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor
|
||||
endif
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
X264_VERSION = c8a773ebfca148ef04f5a60d42cbd7336af0baf6
|
||||
X264_VERSION = e86f3a1993234e8f26050c243aa253651200fa6b
|
||||
X264_SITE = git://git.videolan.org/x264.git
|
||||
X264_LICENSE = GPLv2+
|
||||
X264_DEPENDENCIES = host-pkgconf
|
||||
@@ -13,8 +13,10 @@ X264_INSTALL_STAGING = YES
|
||||
X264_CONF_OPTS = --disable-avs
|
||||
|
||||
ifeq ($(BR2_i386)$(BR2_x86_64),y)
|
||||
# yasm needed for assembly files
|
||||
X264_DEPENDENCIES += host-yasm
|
||||
else ifeq ($(BR2_ARM_CPU_ARMV7A),y)
|
||||
X264_CONF_ENV += AS="$(HOST_DIR)/usr/bin/yasm"
|
||||
else ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_aarch64),y)
|
||||
# We need to pass gcc as AS, because the ARM assembly files have to be
|
||||
# preprocessed
|
||||
X264_CONF_ENV += AS="$(TARGET_CC)"
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
From f450770ea81682323a3c1704b6eafcb88d44a175 Mon Sep 17 00:00:00 2001
|
||||
From: Pieter Hintjens <ph@imatix.com>
|
||||
Date: Sat, 2 May 2015 14:54:11 +0200
|
||||
Subject: [PATCH] Problem: inconsistent use of 'const' on some methods
|
||||
|
||||
Solution: any method that returns a managed string (i.e. not a fresh
|
||||
string that the caller must free) should return 'const char *'.
|
||||
|
||||
Fixes #319
|
||||
|
||||
Backported from:
|
||||
https://github.com/zeromq/zyre/commit/463d2a63e5e92f8028577c350a3badfcafc9c2cb
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
src/zyre_peer.c | 6 +++---
|
||||
src/zyre_peer.h | 6 +++---
|
||||
2 files changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/src/zyre_peer.c b/src/zyre_peer.c
|
||||
index 0497424..8b60c86 100644
|
||||
--- a/src/zyre_peer.c
|
||||
+++ b/src/zyre_peer.c
|
||||
@@ -190,7 +190,7 @@ zyre_peer_connected (zyre_peer_t *self)
|
||||
// ---------------------------------------------------------------------
|
||||
// Return peer identity string
|
||||
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_identity (zyre_peer_t *self)
|
||||
{
|
||||
assert (self);
|
||||
@@ -201,7 +201,7 @@ zyre_peer_identity (zyre_peer_t *self)
|
||||
// ---------------------------------------------------------------------
|
||||
// Return peer connection endpoint
|
||||
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_endpoint (zyre_peer_t *self)
|
||||
{
|
||||
assert (self);
|
||||
@@ -295,7 +295,7 @@ zyre_peer_set_ready (zyre_peer_t *self, bool ready)
|
||||
// ---------------------------------------------------------------------
|
||||
// Get peer header value
|
||||
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_header (zyre_peer_t *self, char *key, char *default_value)
|
||||
{
|
||||
assert (self);
|
||||
diff --git a/src/zyre_peer.h b/src/zyre_peer.h
|
||||
index d5a8060..f6a01b9 100644
|
||||
--- a/src/zyre_peer.h
|
||||
+++ b/src/zyre_peer.h
|
||||
@@ -54,7 +54,7 @@ bool
|
||||
zyre_peer_connected (zyre_peer_t *self);
|
||||
|
||||
// Return peer connection endpoint
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_endpoint (zyre_peer_t *self);
|
||||
|
||||
// Send message to peer
|
||||
@@ -62,7 +62,7 @@ int
|
||||
zyre_peer_send (zyre_peer_t *self, zre_msg_t **msg_p);
|
||||
|
||||
// Return peer identity string
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_identity (zyre_peer_t *self);
|
||||
|
||||
// Register activity at peer
|
||||
@@ -94,7 +94,7 @@ void
|
||||
zyre_peer_set_ready (zyre_peer_t *self, bool ready);
|
||||
|
||||
// Get peer header value
|
||||
-char *
|
||||
+const char *
|
||||
zyre_peer_header (zyre_peer_t *self, char *key, char *default_value);
|
||||
|
||||
// Set peer headers from provided dictionary
|
||||
--
|
||||
2.5.0
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZYRE_VERSION = v1.0.0
|
||||
ZYRE_VERSION = a351468b7d313fc90c446668122365851a9c60e4
|
||||
ZYRE_SITE = $(call github,zeromq,zyre,$(ZYRE_VERSION))
|
||||
ZYRE_LICENSE = LGPLv3+
|
||||
ZYRE_LICENSE_FILES = COPYING COPYING.LESSER
|
||||
ZYRE_INSTALL_STAGING = YES
|
||||
ZYRE_DEPENDENCIES = czmq zeromq
|
||||
ZYRE_DEPENDENCIES = czmq zeromq host-pkgconf
|
||||
ZYRE_AUTORECONF = YES
|
||||
|
||||
define ZYRE_CREATE_CONFIG_DIR
|
||||
|
||||
Reference in New Issue
Block a user