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>
This commit is contained in:
Damien Lanson 2014-11-20 17:02:08 +01:00 committed by Thomas Petazzoni
parent 86f5fb8c74
commit bd63c8bc6c

View File

@ -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