aboutsummaryrefslogtreecommitdiff
path: root/package/xerces
diff options
context:
space:
mode:
authorGravatar Damien Lanson <damien@kal-host.com>2014-11-20 17:02:08 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-04 21:14:44 +0200
commitbd63c8bc6c86c0645374fda8dfa654c3cd668656 (patch)
treea4af7d161bf5010909d8ef91c3e19ed54ce2fd3c /package/xerces
parent86f5fb8c742fdef5d465110069463582f33e699a (diff)
downloadbuildroot-bd63c8bc6c86c0645374fda8dfa654c3cd668656.tar.gz
buildroot-bd63c8bc6c86c0645374fda8dfa654c3cd668656.tar.bz2
xerces: disable build and installation of samples
This commit tweaks the Makefile.in to not build and install example applications. [Thomas: improve commit log, rebase on top of latest master.] Signed-off-by: Damien Lanson <damien@kal-host.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xerces')
-rw-r--r--package/xerces/xerces.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/xerces/xerces.mk b/package/xerces/xerces.mk
index 20426b61bb..cf3618378a 100644
--- a/package/xerces/xerces.mk
+++ b/package/xerces/xerces.mk
@@ -15,6 +15,12 @@ XERCES_CONF_OPTS = \
--disable-threads \
--with-gnu-ld
+define XERCES_DISABLE_SAMPLES
+ $(SED) 's/ samples//' $(@D)/Makefile.in
+endef
+
+XERCES_POST_PATCH_HOOKS += XERCES_DISABLE_SAMPLES
+
ifeq ($(BR2_PACKAGE_LIBICONV),y)
XERCES_CONF_ENV += LIBS=-liconv
XERCES_DEPENDENCIES += libiconv