summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs/e2fsprogs.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 15:18:02 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 15:18:02 +0000
commit644f8a33f92aabe5e8d7f22642a3a2e6e3706ee2 (patch)
tree0270f9226a26cba6bcafba50dafe15cda68ad072 /package/e2fsprogs/e2fsprogs.mk
parentb6c3bd5817c4399ff4f57e6141ad04d575042ee3 (diff)
downloadbuildroot-novena-644f8a33f92aabe5e8d7f22642a3a2e6e3706ee2.tar.gz
buildroot-novena-644f8a33f92aabe5e8d7f22642a3a2e6e3706ee2.zip
- was broken by the patch omitting the CFLAGS for configure
- misc cleanup while at it
Diffstat (limited to 'package/e2fsprogs/e2fsprogs.mk')
-rw-r--r--package/e2fsprogs/e2fsprogs.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 3008fb8ff..02e0d337b 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -30,6 +30,7 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
(cd $(E2FSPROGS_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -54,16 +55,19 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
--without-catgets $(DISABLE_NLS) \
$(DISABLE_LARGEFILE) \
)
+ # do away with hiding the commands
+ find $(E2FSPROGS_DIR) -name Makefile \
+ | xargs $(SED) '/^[[:space:]]*@/s/@/$$\(Q\)/'
touch $@
$(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
- $(MAKE1) PATH=$(TARGET_PATH) -C $(E2FSPROGS_DIR)
+ $(MAKE1) -C $(E2FSPROGS_DIR)
( \
cd $(E2FSPROGS_DIR)/misc; \
$(STRIP) $(E2FSPROGS_MISC_STRIP); \
)
- $(STRIP) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
- touch -c $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
+ #$(STRIP) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
+ touch -c $@
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) -C $(E2FSPROGS_DIR) install
@@ -77,7 +81,7 @@ $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
ln -sf e2label ${TARGET_DIR}/sbin/findfs
rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
- touch -c $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
+ touch -c $@
e2fsprogs: uclibc $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)