Giulio Benetti
10fe80b909
package/kmsxx: work around gcc bug 85180
...
With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180 . The bug
shows up when building kmsxx with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0.
Fixes:
http://autobuild.buildroot.net/results/360/360f19645e76314048c75424bb4b64da91742f47/
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2019-06-19 21:37:27 +02:00
Fabrice Fontaine
57ee0f74ec
package/Makefile.in: set -fno-dwarf2-cfi-asm for m68k_cf
...
Another package (libsquish) is affected by the
"Internal error in emit_expr_encoded at dw2gencfi.c:215".
This error already affects 5 packages and is due to binutils, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
No report has been made to binutils yet however as suggested by Yann
during review of woff2 workaround
(https://patchwork.ozlabs.org/patch/911344/ ), remove the workarounds
from all these packages and put it in package/Makefile.in
Fixes:
http://autobuild.buildroot.org/results/77e06c092f4e7804dc166e259b25e779e5f1e83a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2019-01-13 14:21:52 +01:00
Thomas Petazzoni
28d5ca9c96
package/kmsxx: don't install static libraries when BR2_SHARED_STATIC_LIBS=y
...
The kmsxx build system can only build either shared libraries *or*
static libraries, not both. Therefore, the build currently fails when
BR2_SHARED_STATIC_LIBS=y because we try to install the static
libraries, that haven't been built.
We fix this by not installing the static libraries when
BR2_SHARED_STATIC_LIBS=y, making BR2_SHARED_STATIC_LIBS=y essentially
the same as BR2_SHARED_LIBS=y for this package.
Fixes bug #10331 .
Reported-by: Frederic MATHIEU <frederic.mathieu@dualis.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2018-01-10 22:19:14 +01:00
Venkateswara Rao Mandela
7fd18fa026
kmsxx: update version
...
Updating version to latest as on 26 June 2017 to include kmstest utility
Signed-off-by: Venkateswara Rao Mandela <venkat.mandela@ti.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2017-06-21 18:42:51 +02:00
Rahul Bedarkar
f33fd75afc
package: use SPDX short identifier for MPL family licenses
...
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for MPLv1.0/MPLv1.1/MPLv2.0 is MPL-1.0/MPL-1.1/
MPL-2.0.
This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/MPLv([1-2]\.[0-1])/MPL-\1/g'
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2017-04-01 15:27:47 +02:00
Waldemar Brodkorb
82a935ae49
kmsxx: fix build error for m68k/coldfire
...
Fixes:
http://autobuild.buildroot.org/results/fc8/fc820e0b558537f771588b0e1291a8332427ff8d/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2017-02-14 20:38:49 +01:00
Arnout Vandecappelle
40f5d4a176
package/kmsxx: add patch to fix LTO support
...
The LTO support in the kmsxx package uses the host gcc-ar and gcc-ranlib
instead of the ones from the cross-toolchain. Add a patch that tries to
find the right one based on CMAKE_C_COMPILER.
Fixes:
http://autobuild.buildroot.net/results/16a/16a38a4277dd1152a5955d62cb92f85447791ef3
Possibly also fixes:
http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78
(it fails later, possibly because an incompatible host ar)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be >
Cc: Samuel Martin <s.martin49@gmail.com >
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-27 14:45:51 +02:00
Yann E. MORIN
63ec0c71b5
package/kmsxx: bump version for portability fix with musl
...
Bump the version to get two portability patches (as well as a small,
innocuously-looking minor feature).
Fixes:
http://autobuild.buildroot.net/results/682/68266cb5b26a62387dc99aef31fc9654c8fcd505/
[and quite a few others...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-11 00:01:27 +02:00
Yann E. MORIN
4ef5ddfeef
package/kmsxx: needs headers >= 3.8
...
kms++ uses V4L2_MEMORY_DMABUF, which was only introduced in linux-3.8.
Fixes:
http://autobuild.buildroot.org/results/8dc/8dcc74586d68195c72a58cb4944d05dd9f935fa1/
http://autobuild.buildroot.org/results/224/22467a530a146302ef74b11f69cb5cdc54240876/
http://autobuild.buildroot.org/results/0e5/0e576ec01bbbf68a05216f4459a8a0613c39c141/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-06 12:13:48 +02:00
Yann E. MORIN
ad105ae42c
package/kmsxx: fix static install
...
Currently, we only try to install the shared libraries.
However, when doing a static build, only the static libs are built,
obviously.
Fix this by only installing relevant libraries.
Fixes:
http://autobuild.buildroot.org/results/82c/82cfb7451f933b222abe30b5d35d23e409a4af79/
http://autobuild.buildroot.org/results/bb3/bb3840f14382b6ed77d5947eb3ac5c229286681e/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-05 20:59:53 +02:00
Yann E. MORIN
cd183755ff
package/kmsxx: detect failure at install-staging
...
Currently, the staging-install commands do not detect failures to
install the libs.
That's because we use ';' to separate the commands, so we only get the
result of the last one.
Fix that by using multi-line commands, so they each are called on their
own and make would catch the failures.
Partially fixes (only detects the real failure):
http://autobuild.buildroot.org/results/82c/82cfb7451f933b222abe30b5d35d23e409a4af79
and a few others.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr >
Cc: Maxime Ripard <maxime.ripard@free-electrons.com >
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-08-05 20:59:42 +02:00
Maxime Ripard
93811a2b8a
kmsxx: new package
...
KMS++ is a suite of library and test tools to interact with KMS drivers in
the linux kernel.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com >
[Thomas:
- rename prompt to kms++, suggested by Yann E. Morin
- fixup the thread dependency comment
- remove the mention of the python wrapper in the Config.in help
text, since they are not installed
- fix the Config.in comment to mention the C++ and gcc >= 4.8
dependencies
- use = instead of += when appropriate
- use a loop to install the test programs
- use a loop to install the libraries
- add installation to staging as well, both the libraries and header
files
- add missing dependency on host-pkgconf
- add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-07-28 23:28:02 +02:00