summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-28 18:02:58 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-30 07:21:58 +0100
commitfee5783d17b7e69132d63ba4fb1b660ec2c862e3 (patch)
tree4735bed91fd33dfc335647b2b1d27f5ff59e724d
parent7778a20102b4497db39cce819aeb2d3ba804e3e8 (diff)
downloadbuildroot-novena-fee5783d17b7e69132d63ba4fb1b660ec2c862e3.tar.gz
buildroot-novena-fee5783d17b7e69132d63ba4fb1b660ec2c862e3.zip
efl/libevas: remove examples source code from target filesystem
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/efl/libevas/libevas.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 098afe3f9..0a908424f 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -203,5 +203,13 @@ else
LIBEVAS_CONF_OPT += --disable-font-loader-eet
endif
+# libevas installs the source code of examples on the target, which
+# are generally not useful.
+define LIBEVAS_REMOVE_EXAMPLES
+ rm -rf $(TARGET_DIR)/usr/share/evas/examples/
+endef
+
+LIBEVAS_POST_INSTALL_TARGET_HOOKS += LIBEVAS_REMOVE_EXAMPLES
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))