From: Thomas Petazzoni Date: Tue, 2 Mar 2010 21:33:55 +0000 (+0100) Subject: e2fsprogs: add support for host package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7cf05aebeea9485b538f6905818a5e888da2ff5;p=buildroot.git e2fsprogs: add support for host package Host package is needed to get libuuid installed for the host, needed to build the mtd utils for the host. Signed-off-by: Thomas Petazzoni --- diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index 09db99698f..af3c3eda22 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -26,7 +26,12 @@ E2FSPROGS_CONF_OPT = \ E2FSPROGS_MAKE_OPT = \ LDCONFIG=true +define HOST_E2FSPROGS_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install install-libs +endef + $(eval $(call AUTOTARGETS,package,e2fsprogs)) +$(eval $(call AUTOTARGETS,package,e2fsprogs,host)) # binaries to keep or remove E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks