diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-10-09 01:24:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-10-09 01:24:28 +0000 |
commit | 73f7be82904f487d167493e76b415fbe5b5f8c5a (patch) | |
tree | 8d9acaf4414892fad533fd92ebfc7e65a2ad2785 /package/ltp-testsuite | |
parent | 0b5ad783691ef6fa1285c8d7858a51c425a8b38d (diff) | |
download | buildroot-novena-73f7be82904f487d167493e76b415fbe5b5f8c5a.tar.gz buildroot-novena-73f7be82904f487d167493e76b415fbe5b5f8c5a.zip |
Remove the old 'make' directory, and populate the new 'package'
directory.
Diffstat (limited to 'package/ltp-testsuite')
-rw-r--r-- | package/ltp-testsuite/ltp-testsuite.mk | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk new file mode 100644 index 000000000..43c897c8a --- /dev/null +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -0,0 +1,39 @@ +############################################################# +# +# ltp-testsuite +# +############################################################# +LTP_TESTSUITE_SOURCE:=ltp-full-20040506.tgz +LTP_TESTSUITE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/ltp +LTP_TESTSUITE_CAT:=zcat +LTP_TESTSUITE_DIR:=$(BUILD_DIR)/ltp-full-20040506 +LTP_TESTSUITE_PATCH:=$(SOURCE_DIR)/ltp-testsuite.patch + + +$(DL_DIR)/$(LTP_TESTSUITE_SOURCE): + $(WGET) -P $(DL_DIR) $(LTP_TESTSUITE_SITE)/$(LTP_TESTSUITE_SOURCE) + +ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) + +$(LTP_TESTSUITE_DIR)/.unpacked: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) + $(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) -xvf - + cat $(LTP_TESTSUITE_PATCH) | patch -p1 -d $(LTP_TESTSUITE_DIR) + touch $(LTP_TESTSUITE_DIR)/.unpacked + +$(LTP_TESTSUITE_DIR)/ltp-testsuite: $(LTP_TESTSUITE_DIR)/.unpacked + $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \ + -C $(LTP_TESTSUITE_DIR) + +$(TARGET_DIR)/usr/bin/ltp-testsuite: $(LTP_TESTSUITE_DIR)/ltp-testsuite + $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \ + -C $(LTP_TESTSUITE_DIR) install + +ltp-testsuite: uclibc $(TARGET_DIR)/usr/bin/ltp-testsuite + +ltp-testsuite-clean: + $(MAKE) -C $(LTP_TESTSUITE_DIR) clean + +ltp-testsuite-dirclean: + rm -rf $(LTP_TESTSUITE_DIR) + + |