summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-28 17:02:58 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-30 06:21:58 (GMT)
commitfee5783d17b7e69132d63ba4fb1b660ec2c862e3 (patch)
tree4735bed91fd33dfc335647b2b1d27f5ff59e724d
parent7778a20102b4497db39cce819aeb2d3ba804e3e8 (diff)
downloadbuildroot-fee5783d17b7e69132d63ba4fb1b660ec2c862e3.tar.gz
buildroot-fee5783d17b7e69132d63ba4fb1b660ec2c862e3.tar.bz2
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 098afe3..0a90842 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))