summaryrefslogtreecommitdiff
path: root/package/e2fsprogs/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-10 10:50:04 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-10 10:53:34 +0200
commit61abfcbc4889939f97b8eb6ac53b5ce3cf682c0f (patch)
treedc53b2445c9e327a5087caa69bc199a2f11b57b8 /package/e2fsprogs/Makefile
parent7cfbd8447bdbc4a9d9a55fb65f4108568807598d (diff)
e2fsprogs: add host tool stuff
Diffstat (limited to 'package/e2fsprogs/Makefile')
-rw-r--r--package/e2fsprogs/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 34504566e..d5822d78f 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -42,8 +42,10 @@ PKGSD_MKE2FS:= ext2/3/4 filesystem creation utility
PKGSC_MKE2FS:= sys/fs
PKGSS_MKE2FS:= libe2fs libcom-err libblkid libuuid libncurses
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,E2FSPROGS,e2fsprogs,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,LIBE2FS,libe2fs,$(PKG_VERSION)-$(PKG_RELEASE),,$(PKGSD_LIBE2FS),$(PKGSC_LIBE2FS),$(PKG_OPTS)))
$(eval $(call PKG_template,LIBCOM_ERR,libcom-err,$(PKG_VERSION)-$(PKG_RELEASE),,$(PKGSD_LIBCOM_ERR),$(PKGSC_LIBCOM_ERR),$(PKG_OPTS)))
$(eval $(call PKG_template,LIBSS,libss,$(PKG_VERSION)-$(PKG_RELEASE),,$(PKGSD_LIBSS),$(PKGSC_LIBSS),$(PKG_OPTS)))
@@ -54,6 +56,10 @@ $(eval $(call PKG_template,E2FSCK,e2fsck,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_E
$(eval $(call PKG_template,E2FSCK_STATIC,e2fsck-static,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_E2FSCK_STATIC},${PKGSC_E2FSCK_STATIC}))
$(eval $(call PKG_template,TUNE2FS_STATIC,tune2fs-static,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_E2FSCK_STATIC},${PKGSC_E2FSCK_STATIC}))
+HOST_CONFIGURE_ARGS+= --disable-rpath \
+ --disable-uuidd \
+ --disable-defrag \
+ --disable-debugfs
ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
CONFIGURE_ARGS+= --disable-elf-shlibs
@@ -125,4 +131,5 @@ tune2fs-static-install:
${INSTALL_BIN} ${WRKBUILD}/misc/tune2fs.static \
${IDIR_TUNE2FS_STATIC}/usr/sbin/tune2fs
+include $(ADK_TOPDIR)/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk