* modetest is a very important application to test the drm
  interface, this is not installed by the default make install.

* It is desirable to have this binary on the target because it
  allows all kinds of basic debugging.

Signed-off-by: Karthik Ramanan <[email protected]>
---
 recipes-graphics/drm/libdrm_2.4.41.bb |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb 
b/recipes-graphics/drm/libdrm_2.4.41.bb
index 0150632..d94dca1 100644
--- a/recipes-graphics/drm/libdrm_2.4.41.bb
+++ b/recipes-graphics/drm/libdrm_2.4.41.bb
@@ -15,6 +15,12 @@ SRC_URI += "file://installtests-ti.patch \
             file://GNU_SOURCE_definition.patch \
            "
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 S = "${WORKDIR}/git"
+
+do_install_append() {
+        mkdir -p ${D}/usr/bin/
+        cp ${S}/tests/modetest/.libs/modetest ${D}/usr/bin
+}
+
-- 
1.7.9.5

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to