summaryrefslogtreecommitdiff
path: root/package/e2fsprogs/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-24 10:58:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-24 10:58:48 +0100
commit21dc31aa74ddfb6c8af225e11866a063ed6a8347 (patch)
tree9b3e388644a9653c2dcbe9f083833676af553c7c /package/e2fsprogs/Makefile
parent0530749657eaff8b7850296785c315a39c8c0621 (diff)
build e2fsck.static only when choosen
Diffstat (limited to 'package/e2fsprogs/Makefile')
-rw-r--r--package/e2fsprogs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index 74c40a61a..0b8a69eea 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -58,9 +58,11 @@ MAKE_FLAGS+= BUILD_CC="${CC_FOR_BUILD}" \
BUILD_CPPFLAGS="${CPPFLAGS_FOR_BUILD}"
post-build:
+ifeq ($(ADK_PACKAGE_E2FSCK_STATIC),y)
${MAKE} -C ${WRKBUILD}/e2fsck e2fsck.static
${INSTALL_DIR} ${WRKINST}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/e2fsck/e2fsck.static ${WRKINST}/usr/sbin
+endif
e2fsprogs-install:
${INSTALL_DIR} ${IDIR_E2FSPROGS}/etc