Skip to contentSkip to conversation

fb-tests: Prepend fb- to the binaries

PATCH New Darren Hart 1 participant 1 message Jan 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fb-tests: Prepend fb- to the binaries

The binaries conflict with perf and mesa-demos. Update do_install to prefix the binaries, avoiding the namespace conflict.

---
 meta-oe/recipes-support/fbtest/fb-test_git.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
meta-oe/recipes-support/fbtest/fb-test_git.bb +6 -5
index 65f98c1..13f9e37 100644
@@ -11,9 +11,10 @@ SRC_URI = "git://github.com/prpplague/fb-test-app.git"
 S = "${WORKDIR}/git"
 
 do_install() {
-    install -d ${D}${bindir}
-    for prog in perf rect fb-test offset ; do
-        install -m 0755 $prog ${D}${bindir}
-    done
+	install -d ${D}${bindir}
+	install -m 0755 fb-test ${D}${bindir}
+	# avoid collisions with perf (perf) and mesa-demos (offset)
+	for prog in perf rect offset ; do
+		install -m 0755 $prog ${D}${bindir}/fb-$prog
+	done
 }
-
Signature · 1 line
2.1.4