1 #############################################################
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
13 $(DL_DIR
)/$(LTP_TESTSUITE_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(LTP_TESTSUITE_SITE
)/$(LTP_TESTSUITE_SOURCE
)
16 ltp-testsuite-source
: $(DL_DIR
)/$(LTP_TESTSUITE_SOURCE
)
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
23 $(LTP_TESTSUITE_DIR
)/ltp-testsuite
: $(LTP_TESTSUITE_DIR
)/.unpacked
24 $(MAKE
) $(TARGET_CONFIGURE_OPTS
) CROSS_COMPILER
=$(TARGET_CROSS
) \
25 -C
$(LTP_TESTSUITE_DIR
)
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
31 ltp-testsuite
: uclibc
$(TARGET_DIR
)/usr
/bin
/ltp-testsuite
34 $(MAKE
) -C
$(LTP_TESTSUITE_DIR
) clean
36 ltp-testsuite-dirclean
:
37 rm -rf
$(LTP_TESTSUITE_DIR
)