From bd63c8bc6c86c0645374fda8dfa654c3cd668656 Mon Sep 17 00:00:00 2001 From: Damien Lanson Date: Thu, 20 Nov 2014 17:02:08 +0100 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/xerces/xerces.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/xerces/xerces.mk b/package/xerces/xerces.mk index 20426b61b..cf3618378 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