diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-02 10:59:12 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-04-13 05:16:57 +0200 |
commit | 3645b27848edd0d873925f5fa2a7686f3ff9eeb9 (patch) | |
tree | 97bf5a6d10d4360af2b2cd04a9cd53d2897828e9 | |
parent | f1b7034077b0728d2b48646bbc016b3bb7539751 (diff) | |
download | meta-raspberrypi-3645b27848edd0d873925f5fa2a7686f3ff9eeb9.tar.gz |
userland: Make vchostif as shared library
This helps in using this library when building
with PIE binaries
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch | 28 | ||||
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch b/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch new file mode 100644 index 0000000..ca7cb66 --- /dev/null +++ b/recipes-graphics/userland/userland/0014-build-shared-library-for-vchostif.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4e9aa3fffb458ca4fafd2241c18e9c8008b66ad8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 2 Apr 2016 10:37:24 -0700 | ||
4 | Subject: [PATCH] build shared library for vchostif | ||
5 | |||
6 | Fixes #149 | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | interface/vmcs_host/CMakeLists.txt | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/interface/vmcs_host/CMakeLists.txt b/interface/vmcs_host/CMakeLists.txt | ||
14 | index 22949a8..f8c2f2f 100755 | ||
15 | --- a/interface/vmcs_host/CMakeLists.txt | ||
16 | +++ b/interface/vmcs_host/CMakeLists.txt | ||
17 | @@ -17,7 +17,7 @@ set(VCHOSTIF_SOURCE | ||
18 | # ${VMCS_TARGET}/vmcs_main.c | ||
19 | # vc_vchi_haud.c | ||
20 | |||
21 | -add_library(vchostif ${VCHOSTIF_SOURCE}) | ||
22 | +add_library(vchostif SHARED ${VCHOSTIF_SOURCE}) | ||
23 | |||
24 | #add_library(bufman vc_vchi_bufman.c ) | ||
25 | |||
26 | -- | ||
27 | 2.8.0 | ||
28 | |||
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index f5fa4e3..ef06b12 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
@@ -33,6 +33,7 @@ SRC_URI = "\ | |||
33 | file://0011-fix-cmake-dependency-race.patch \ | 33 | file://0011-fix-cmake-dependency-race.patch \ |
34 | file://0012-Fix-enum-conversion-warnings.patch \ | 34 | file://0012-Fix-enum-conversion-warnings.patch \ |
35 | file://0013-Fix-for-framerate-with-nested-composition.patch \ | 35 | file://0013-Fix-for-framerate-with-nested-composition.patch \ |
36 | file://0014-build-shared-library-for-vchostif.patch \ | ||
36 | file://0015-wl-dispmanx-buffer-wrapping.patch \ | 37 | file://0015-wl-dispmanx-buffer-wrapping.patch \ |
37 | " | 38 | " |
38 | S = "${WORKDIR}/git" | 39 | S = "${WORKDIR}/git" |