2003-10-06 10:06:02 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# ltp-testsuite
|
|
|
|
#
|
|
|
|
#############################################################
|
2004-05-13 09:53:14 +02:00
|
|
|
LTP_TESTSUITE_SOURCE:=ltp-full-20040506.tgz
|
2005-06-09 14:15:00 +02:00
|
|
|
LTP_TESTSUITE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ltp
|
2003-10-06 10:06:02 +02:00
|
|
|
LTP_TESTSUITE_CAT:=zcat
|
2004-05-13 09:53:14 +02:00
|
|
|
LTP_TESTSUITE_DIR:=$(BUILD_DIR)/ltp-full-20040506
|
2003-10-06 10:06:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
$(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)
|
2004-10-09 23:19:47 +02:00
|
|
|
$(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
2005-06-24 10:36:13 +02:00
|
|
|
toolchain/patch-kernel.sh $(LTP_TESTSUITE_DIR) package/ltp-testsuite/ ltp-testsuite\*.patch
|
2003-10-06 10:06:02 +02:00
|
|
|
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
|
|
|
|
|
2003-12-30 00:19:46 +01:00
|
|
|
ltp-testsuite: uclibc $(TARGET_DIR)/usr/bin/ltp-testsuite
|
2003-10-06 10:06:02 +02:00
|
|
|
|
2003-12-30 00:19:46 +01:00
|
|
|
ltp-testsuite-clean:
|
2003-10-06 10:06:02 +02:00
|
|
|
$(MAKE) -C $(LTP_TESTSUITE_DIR) clean
|
|
|
|
|
2003-12-30 00:19:46 +01:00
|
|
|
ltp-testsuite-dirclean:
|
|
|
|
rm -rf $(LTP_TESTSUITE_DIR)
|
2003-10-06 10:06:02 +02:00
|
|
|
|
|
|
|
|
2005-02-10 04:06:39 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Toplevel Makefile options
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
ifeq ($(strip $(BR2_PACKAGE_LTP-TESTSUITE)),y)
|
|
|
|
TARGETS+=ltp-testsuite
|
|
|
|
endif
|