summaryrefslogtreecommitdiffstats
path: root/package/ltp-testsuite/ltp-testsuite.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-10 22:49:48 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-10 22:49:48 +0000
commit674d61d84b2b754057be95038462b97ad83f759f (patch)
tree08f19974441080147b1a2406bbe62b5847035162 /package/ltp-testsuite/ltp-testsuite.mk
parentbfcb34c69f8a1e28bbd2daf3d5841350fa855f10 (diff)
downloadbuildroot-novena-674d61d84b2b754057be95038462b97ad83f759f.tar.gz
buildroot-novena-674d61d84b2b754057be95038462b97ad83f759f.zip
yet again... rework fakeroot handling to ensure fakeroot is invoked just once,
as it seems to sometimes lose values logged during from earlier invocations.
Diffstat (limited to 'package/ltp-testsuite/ltp-testsuite.mk')
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 5c05613ef..02f12c428 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -28,11 +28,9 @@ $(LTP_TESTSUITE_DIR)/.compiled: $(LTP_TESTSUITE_DIR)/Makefile
$(LTP_TESTSUITE_DIR)/.installed: $(LTP_TESTSUITE_DIR)/.compiled
# Use fakeroot to pretend to do 'make install' as root
- rm -f $(STAGING_DIR)/.fakeroot.ltp
- $(STAGING_DIR)/usr/bin/fakeroot \
- -s $(STAGING_DIR)/.fakeroot.ltp -- \
- $(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \
- -C $(LTP_TESTSUITE_DIR) install
+ echo "$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) " \
+ "-C $(LTP_TESTSUITE_DIR) install" \
+ > $(STAGING_DIR)/.fakeroot.ltp
touch $(LTP_TESTSUITE_DIR)/.installed
ltp-testsuite: uclibc host-fakeroot $(LTP_TESTSUITE_DIR)/.installed