From f60cb94b824a64a107a53810960e31957a149860 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 4 Oct 2021 23:34:24 -0500 Subject: [PATCH] wolfcrypt/src/include.am and src/include.am: don't disrupt modtimes of fips/async source files if they already exist. --- src/include.am | 16 ++++++++-------- wolfcrypt/src/include.am | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/include.am b/src/include.am index e4292475a..4d3e1a53c 100644 --- a/src/include.am +++ b/src/include.am @@ -21,28 +21,28 @@ MAINTAINERCLEANFILES+= wolfcrypt/src/wolfcrypt_first.c MAINTAINERCLEANFILES+= wolfcrypt/src/wolfcrypt_last.c ctaocrypt/src/fips.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ ctaocrypt/src/fips_test.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/async.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/fips.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/fips_test.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/selftest.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/wolfcrypt_first.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/wolfcrypt_last.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ if !BUILD_NO_LIBRARY lib_LTLIBRARIES+= src/libwolfssl.la diff --git a/wolfcrypt/src/include.am b/wolfcrypt/src/include.am index c08529519..e1ab3e348 100644 --- a/wolfcrypt/src/include.am +++ b/wolfcrypt/src/include.am @@ -119,13 +119,13 @@ EXTRA_DIST += wolfcrypt/src/port/ti/ti-aes.c \ wolfcrypt/src/port/cypress/psoc6_crypto.c wolfcrypt/src/port/cavium/cavium_nitrox.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/port/intel/quickassist.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ wolfcrypt/src/port/intel/quickassist_mem.c: Makefile - touch $(srcdir)/$@ + @test -e $(srcdir)/$@ || touch $(srcdir)/$@ if BUILD_CRYPTOCB src_libwolfssl_la_SOURCES += wolfcrypt/src/cryptocb.c