From b7e08d4fbaeafc8a1ea61ca07fa0caab406d7330 Mon Sep 17 00:00:00 2001 From: guoshichao Date: Fri, 8 Sep 2023 10:41:26 +0800 Subject: [PATCH] ltp/makefile: rm the ltp.zip file after unzipped the ltp.zip file is not tracked in git record, so after download and unzip finished, we do not need to keep this ltp.zip file. Signed-off-by: guoshichao --- testing/ltp/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile index 292fed562..49e68c276 100644 --- a/testing/ltp/Makefile +++ b/testing/ltp/Makefile @@ -276,6 +276,7 @@ ltp-$(LTPS_VERSION).zip: $(LTP_UNPACK): ltp-$(LTPS_VERSION).zip $(Q) echo "dowload $(LTP_DOWNLOAD_URL)$(LTPS_VERSION).zip" $(Q) unzip -o ltp.zip + $(Q) rm -f ltp.zip $(Q) mv ltp-$(LTPS_VERSION) $(LTP_UNPACK) $(Q) patch -d $(LTP_UNPACK) -p1 < 0001-pthread_rwlock_unlock-follow-linux.patch $(Q) patch -d $(LTP_UNPACK) -p1 < 0002-Use-ifdef-instead-of-if-for-__linux__.patch