summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-02 21:33:55 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-09 09:03:55 (GMT)
commite7cf05aebeea9485b538f6905818a5e888da2ff5 (patch)
treeb1e64deecfee9a5ef1741cddca684de1036b0441
parent1ef21e7bd454e531286d33c720e9f49ace3ecc6a (diff)
downloadbuildroot-e7cf05aebeea9485b538f6905818a5e888da2ff5.tar.gz
buildroot-e7cf05aebeea9485b538f6905818a5e888da2ff5.tar.bz2
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 09db996..af3c3ed 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