summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-06 18:10:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-06 18:10:48 +0000
commit3342c8c547f9b1acacaec803262adf786a7f0981 (patch)
treef101170e55b1a3c19c0da5a4f5d637d15ac287b0 /package
parent6570eabd94b29a483ada78d5e291ffb629eea8b5 (diff)
- make sure to have the target-dir where we want to unpack ltp to
Diffstat (limited to 'package')
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index bd791b16f..8ad6f0a66 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -28,14 +28,15 @@ $(DL_DIR)/$(LTP_TESTSUITE_SOURCE):
ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
$(LTP_TESTSUITE_DIR)/Makefile: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
+ -mkdir -p $(LTP_TESTSUITE_ROOT)
$(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(LTP_TESTSUITE_ROOT) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LTP_TESTSUITE_DIR) package/ltp-testsuite/ $(LTP_PATCHES)
- touch -c $(LTP_TESTSUITE_DIR)/Makefile
+ touch -c $@
$(LTP_TESTSUITE_DIR)/.compiled: $(LTP_TESTSUITE_DIR)/Makefile
$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \
-C $(LTP_TESTSUITE_DIR) all
- touch $(LTP_TESTSUITE_DIR)/.compiled
+ touch $@
sjh: $(LTP_TESTSUITE_DIR)/Makefile
$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \
@@ -46,7 +47,7 @@ $(LTP_TESTSUITE_DIR)/.installed: $(LTP_TESTSUITE_DIR)/.compiled
echo "$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) " \
"-C $(LTP_TESTSUITE_DIR) install" \
> $(STAGING_DIR)/.fakeroot.ltp
- touch $(LTP_TESTSUITE_DIR)/.installed
+ touch $@
ltp-testsuite: uclibc host-fakeroot $(LTP_TESTSUITE_DIR)/.installed