1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-04 14:10:01 +00:00

arm/hafnium: add missing headers to native-dtc.patch

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2022-01-04 15:35:53 +00:00
committed by Jon Mason
parent 564abfcb9a
commit 82ef0cce84
@@ -1,14 +1,16 @@
Use our dtc tools instead of the prebuilt (x86-64-only) binaries.
Upstream-Status: Pending [part of a larger effort to remove prebuilt]
Signed-off-by: Ross Burton <ross.burton@arm.com>
diff --git a/build/image/dtc.py b/build/image/dtc.py
index d0778186..a5d831be 100755
index d077818..1513120 100755
--- a/build/image/dtc.py
+++ b/build/image/dtc.py
@@ -18,6 +18,9 @@ DTC_ROOT = os.path.join(HF_ROOT, "prebuilts", "linux-x64", "dtc")
DTC = os.path.join(DTC_ROOT, "dtc")
FDTOVERLAY = os.path.join(DTC_ROOT, "fdtoverlay")
+DTC = "dtc"
@@ -16,4 +16,2 @@ import sys
-HF_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
-DTC_ROOT = os.path.join(HF_ROOT, "prebuilts", "linux-x64", "dtc")
-DTC = os.path.join(DTC_ROOT, "dtc")
-FDTOVERLAY = os.path.join(DTC_ROOT, "fdtoverlay")
+DTC = "dtc"
+FDTOVERLAY = "fdtoverlay"
+
def cmd_compile(args):
exec_args = [
DTC,