aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/dtc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/dtc')
-rw-r--r--recipes-kernel/dtc/dtc-145_git.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/dtc/dtc-145_git.bb b/recipes-kernel/dtc/dtc-145_git.bb
index afed62fd..2776cc5e 100644
--- a/recipes-kernel/dtc/dtc-145_git.bb
+++ b/recipes-kernel/dtc/dtc-145_git.bb
@@ -10,3 +10,9 @@ SRCREV = "22a65c5331c22979d416738eb756b9541672e00d"
S = "${WORKDIR}/git"
BBCLASSEXTEND = "native nativesdk"
+
+# only install the dtc binary renamed to dtc-145
+do_install () {
+ install -d ${D}/${bindir}
+ install -m 755 dtc ${D}/${bindir}/dtc-145
+}