-
Notifications
You must be signed in to change notification settings - Fork 0
/
mmal-build-fixes.patch
46 lines (42 loc) · 1.73 KB
/
mmal-build-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From 6a3f8af61dfc3fd2800936fb510f1780ebe70987 Mon Sep 17 00:00:00 2001
Message-Id: <6a3f8af61dfc3fd2800936fb510f1780ebe70987.1554123273.git.devel@agrez.net>
From: Vaughan Agrez <[email protected]>
Date: Mon, 1 Apr 2019 20:54:00 +0800
Subject: [PATCH] mmal build fixes for Fedberry
---
chrome/BUILD.gn | 4 ++--
media/filters/BUILD.gn | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 0cdedf379..f9f8ccbc4 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -306,8 +306,8 @@ if (!is_android && !is_mac) {
# * is there a better place?
if (is_linux && target_cpu == "arm") {
ldflags += [
- "-L$sysroot/opt/vc/lib",
- "-Wl,--rpath=/opt/vc/lib,--rpath-link=$sysroot/opt/vc/lib",
+ "-L$sysroot/usr/lib/vc",
+ "-Wl,--rpath=/usr/lib/vc,--rpath-link=$sysroot/usr/lib/vc",
"-Wl,--start-group", "-lbcm_host", "-lmmal", "-lmmal_util", "-lmmal_core", "-lmmal_vc_client", "-lvcos", "-lvcsm", "-lvchostif", "-lvchiq_arm", "-Wl,--end-group",
]
if (symbol_level >= 2) {
diff --git a/media/filters/BUILD.gn b/media/filters/BUILD.gn
index d57b8bda5..3933dd8c8 100644
--- a/media/filters/BUILD.gn
+++ b/media/filters/BUILD.gn
@@ -124,9 +124,9 @@ jumbo_source_set("filters") {
"mmal_video_decoder.h",
]
include_dirs += [
- "$target_sysroot/opt/vc/include",
- "$target_sysroot/opt/vc/include/interface/vcos/pthreads",
- "$target_sysroot/opt/vc/include/interface/vmcs_host/linux",
+ "$target_sysroot/usr/include/vc",
+ "$target_sysroot/usr/include/vc/interface/vcos/pthreads",
+ "$target_sysroot/usr/include/vc/interface/vmcs_host/linux",
]
}
--
2.20.1