jffs2 patches
[openwrt.git] / obsolete-buildroot / make / ltp-testsuite.mk
1 #############################################################
2 #
3 # ltp-testsuite
4 #
5 #############################################################
6 LTP_TESTSUITE_SOURCE:=ltp-full-20040206.tgz
7 LTP_TESTSUITE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/ltp
8 LTP_TESTSUITE_CAT:=zcat
9 LTP_TESTSUITE_DIR:=$(BUILD_DIR)/ltp-full-20040206
10 LTP_TESTSUITE_PATCH:=$(SOURCE_DIR)/ltp-testsuite.patch
11
12
13 $(DL_DIR)/$(LTP_TESTSUITE_SOURCE):
14 $(WGET) -P $(DL_DIR) $(LTP_TESTSUITE_SITE)/$(LTP_TESTSUITE_SOURCE)
15
16 ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
17
18 $(LTP_TESTSUITE_DIR)/.unpacked: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE)
19 $(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) -xvf -
20 cat $(LTP_TESTSUITE_PATCH) | patch -p1 -d $(LTP_TESTSUITE_DIR)
21 touch $(LTP_TESTSUITE_DIR)/.unpacked
22
23 $(LTP_TESTSUITE_DIR)/ltp-testsuite: $(LTP_TESTSUITE_DIR)/.unpacked
24 $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \
25 -C $(LTP_TESTSUITE_DIR)
26
27 $(TARGET_DIR)/usr/bin/ltp-testsuite: $(LTP_TESTSUITE_DIR)/ltp-testsuite
28 $(MAKE) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \
29 -C $(LTP_TESTSUITE_DIR) install
30
31 ltp-testsuite: uclibc $(TARGET_DIR)/usr/bin/ltp-testsuite
32
33 ltp-testsuite-clean:
34 $(MAKE) -C $(LTP_TESTSUITE_DIR) clean
35
36 ltp-testsuite-dirclean:
37 rm -rf $(LTP_TESTSUITE_DIR)
38
39
This page took 0.053984 seconds and 5 git commands to generate.