Skip to contentSkip to conversation

dtc-145: Fix compile failure with latest master on musl

PATCH New Khem Raj 1 participant 1 message Oct 7, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 dtc-145: Fix compile failure with latest master on musl

This issue is primarily seen when building the target recipe on musl the fix is a partial backport from upstream to get over the hump

---
 recipes-kernel/dtc/dtc-145_git.bb             |  6 +-
 ...Fix-compiler-warnings-seen-with-musl.patch | 55 +++++++++++++++++++
 2 files changed, 59 insertions(+), 2 deletions(-)
 create mode 100644 recipes-kernel/dtc/files/0001-Fix-compiler-warnings-seen-with-musl.patch
recipes-kernel/dtc/dtc-145_git.bb +4 -2
index 2776cc5e..2d4097bb 100644
@@ -7,12 +7,14 @@ LIC_FILES_CHKSUM = " \
 
 SRCREV = "22a65c5331c22979d416738eb756b9541672e00d"
 
+SRC_URI += "file://0001-Fix-compiler-warnings-seen-with-musl.patch \
+           "
 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
 }
+
+BBCLASSEXTEND = "native nativesdk"
recipes-kernel/dtc/files/0001-Fix-compiler-warnings-seen-with-musl.patch new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
2.19.0