Commit Graph

5 Commits

Author SHA1 Message Date
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