From 5889583b3961bf09ae32418777b06db3a02816b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Draszik?= Date: Thu, 28 Jul 2016 12:56:54 +0100 Subject: readline: don't install readline C examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They are unlikely to be of any use in the target file system. Signed-off-by: André Draszik Signed-off-by: Ross Burton --- meta/recipes-core/readline/readline.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/readline/readline.inc b/meta/recipes-core/readline/readline.inc index 35df8b4bb6..1a0a1558df 100644 --- a/meta/recipes-core/readline/readline.inc +++ b/meta/recipes-core/readline/readline.inc @@ -32,6 +32,8 @@ do_install_append () { oe_libinstall -so -C shlib libreadline ${D}${libdir} rmdir ${D}${bindir} + rm -rf ${D}${datadir}/${BPN}/*.c + rmdir ${D}${datadir}/${BPN} || true install -m 0755 -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/inputrc ${D}${sysconfdir}/inputrc -- cgit v1.2.3