summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/readline
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2016-07-28 12:56:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-01 11:46:37 +0100
commit5889583b3961bf09ae32418777b06db3a02816b1 (patch)
tree87cd9b3235b6081792546cf66d87faa7172a0ad9 /meta/recipes-core/readline
parent799c93592a9aac571d6dc05529437c0eec7b08b8 (diff)
downloadopenembedded-core-contrib-5889583b3961bf09ae32418777b06db3a02816b1.tar.gz
openembedded-core-contrib-5889583b3961bf09ae32418777b06db3a02816b1.tar.bz2
openembedded-core-contrib-5889583b3961bf09ae32418777b06db3a02816b1.zip
readline: don't install readline C examples
They are unlikely to be of any use in the target file system. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/readline')
-rw-r--r--meta/recipes-core/readline/readline.inc2
1 files changed, 2 insertions, 0 deletions
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