summaryrefslogtreecommitdiff
path: root/package/e2fsprogs
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-26 11:07:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-26 11:07:40 +0200
commita314aacee222450e5e8d27f38bf49abe38afb10b (patch)
tree489db8ac7920b75d45e79acec2c0e18d91132d8b /package/e2fsprogs
parent0b5972e753c10fa8b0bc85961a97ec0b4b7def05 (diff)
install when module is choosen, from phil
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r--package/e2fsprogs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/e2fsprogs/Makefile b/package/e2fsprogs/Makefile
index a61fa4e63..8c8788b2a 100644
--- a/package/e2fsprogs/Makefile
+++ b/package/e2fsprogs/Makefile
@@ -61,7 +61,7 @@ post-build:
${INSTALL_DIR} ${STAGING_DIR}/usr/include/uuid
${CP} ${WRKBUILD}/lib/uuid/uuid.h \
${STAGING_DIR}/usr/include/uuid
-ifeq ($(ADK_PACKAGE_E2FSCK_STATIC),y)
+ifneq ($(ADK_PACKAGE_E2FSCK_STATIC),)
${MAKE} -C ${WRKBUILD}/e2fsck e2fsck.static
${INSTALL_DIR} ${WRKINST}/usr/sbin
${INSTALL_BIN} ${WRKBUILD}/e2fsck/e2fsck.static ${WRKINST}/usr/sbin
@@ -121,8 +121,10 @@ libuuid-dev-install:
${IDIR_LIBUUID_DEV}/usr/include
e2fsck-static-install:
+ifneq ($(ADK_PACKAGE_E2FSCK_STATIC),)
${INSTALL_DIR} ${IDIR_E2FSCK_STATIC}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/e2fsck.static \
${IDIR_E2FSCK_STATIC}/usr/sbin/e2fsck
+endif
include ${TOPDIR}/mk/pkg-bottom.mk