summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-02 22:33:55 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-09 11:03:55 +0200
commite7cf05aebeea9485b538f6905818a5e888da2ff5 (patch)
treeb1e64deecfee9a5ef1741cddca684de1036b0441
parent1ef21e7bd454e531286d33c720e9f49ace3ecc6a (diff)
downloadbuildroot-novena-e7cf05aebeea9485b538f6905818a5e888da2ff5.tar.gz
buildroot-novena-e7cf05aebeea9485b538f6905818a5e888da2ff5.zip
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 <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/e2fsprogs/e2fsprogs.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 09db99698..af3c3eda2 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