Skip to contentSkip to conversation

binutils-cross-canadian: Do not package gprofng.rc

PATCH New Khem Raj 1 participant 1 message Sep 8, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 binutils-cross-canadian: Do not package gprofng.rc

This file is already packaged via nativesdk-gprofng and can cause populate SDK conflicts

Also delete the etc directory if its empty it can still cause packaging QA errors

---
v2: Delete empty etc dir as well

 meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/binutils/binutils-cross-canadian.inc +3 -3
index 4e8f10c1c4..12e7d77d8d 100644
@@ -23,10 +23,10 @@ do_install () {
 	rm -f ${D}${libdir}/libiberty*
 	rm -f ${D}${libdir}/libopcodes*
 	rm -f ${D}${includedir}/*.h
-	
+	rm -f ${D}${sysconfdir}/gprofng.rc
+	rmdir ${D}${sysconfdir} || :
+
 	cross_canadian_bindirlinks
 }
 
-FILES:${PN} += "${sysconfdir}/gprofng.rc"
-
 BBCLASSEXTEND = ""
Signature · 1 line
2.37.3