mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
arm/hafnium: Restore patch on gn visibility
This patch has been dropped in the following commit:
f1fc5c53 - arm/hafnium: update to v2.12.0
Unfortunately the original issue is still present and the
patch is required for the successful build. Patch is
restored in this commit.
Signed-off-by: Csaba Szilágyi <csaba.szilagyi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
1a27790238
commit
ed99303a7c
@@ -0,0 +1,29 @@
|
||||
From 745294ffa9bb9296eb4250f24dd0ae8115fadd7a Mon Sep 17 00:00:00 2001
|
||||
From: Jon Mason <jon.mason@arm.com>
|
||||
Date: Thu, 27 Oct 2022 20:10:09 +0000
|
||||
Subject: [PATCH] work around visibility issue
|
||||
|
||||
gn commit 46b572ce4ceedfe57f4f84051bd7da624c98bf01 "fixed" the
|
||||
visibility field not applying to public configs. This caused dtc to
|
||||
have issues due to libfdt and others not being specified. Due to the
|
||||
number, it was cleaner to remove the visibility field (which defaults to
|
||||
everything being visible).
|
||||
|
||||
Upstream-Status: Pending [Not submitted to upstream yet]
|
||||
Signed-off-by: Jon Mason <jon.mason@arm.com>
|
||||
---
|
||||
BUILD.gn | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/BUILD.gn b/BUILD.gn
|
||||
index f55560c540de..d60c3e37135b 100644
|
||||
--- a/BUILD.gn
|
||||
+++ b/BUILD.gn
|
||||
@@ -5,7 +5,6 @@
|
||||
# https://opensource.org/licenses/BSD-3-Clause.
|
||||
|
||||
config("libfdt_config") {
|
||||
- visibility = [ ":gtest" ]
|
||||
include_dirs = [
|
||||
"libfdt",
|
||||
"hafnium_inc",
|
||||
@@ -14,6 +14,7 @@ inherit deploy python3native pkgconfig ${CLANGNATIVE}
|
||||
|
||||
SRC_URI = "gitsm://git.trustedfirmware.org/hafnium/hafnium.git;protocol=https;branch=master \
|
||||
file://0001-arm-hafnium-fix-kernel-tool-linking.patch \
|
||||
file://0001-work-around-visibility-issue.patch;patchdir=third_party/dtc \
|
||||
"
|
||||
SRCREV = "2cf2ca7c4b81ab18e9cd363d9a5c8288e2a94fda"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
Reference in New Issue
Block a user