]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
cfg.mk: add common headers used for asm gen
authorBill Roberts <bill.roberts@arm.com>
Fri, 2 Feb 2024 20:04:29 +0000 (14:04 -0600)
committerBill Roberts <bill.roberts@arm.com>
Mon, 3 Jun 2024 14:01:26 +0000 (09:01 -0500)
The common headers are needed when generating the assembly, so make them
depencies of the build target.

Signed-off-by: Bill Roberts <bill.roberts@arm.com>
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 8cef05a7c251eb91bf080b7efcfa38879541617a..310ece5fa0ffda8384e55e9e610c4e19cd8b48f0 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -254,7 +254,7 @@ lib/accelerated/x86/coff/%-x86_64.s: devel/perlasm/%-x86_64.pl .submodule.stamp
        echo "" >> $@
        sed -i 's/OPENSSL_ia32cap_P/GNUTLS_x86_cpuid_s/g' $@
 
-lib/accelerated/x86/macosx/%.s: devel/perlasm/%.pl .submodule.stamp 
+lib/accelerated/x86/macosx/%.s: devel/perlasm/%.pl ./lib/accelerated/x86/x86-common.h .submodule.stamp
        CC=gcc perl $< macosx \
                $(if $(findstring $(<F),$(PL_NEEDS_FPIC)),-fPIC) \
                $@.tmp
@@ -262,7 +262,7 @@ lib/accelerated/x86/macosx/%.s: devel/perlasm/%.pl .submodule.stamp
        echo "" >> $@
        sed -i 's/OPENSSL_ia32cap_P/GNUTLS_x86_cpuid_s/g' $@
 
-lib/accelerated/aarch64/elf/%.s: devel/perlasm/%.pl .submodule.stamp 
+lib/accelerated/aarch64/elf/%.s: devel/perlasm/%.pl lib/accelerated/aarch64/aarch64-common.h .submodule.stamp
        rm -f $@tmp
        CC=aarch64-linux-gnu-gcc perl $< linux64 \
                $(if $(findstring $(<F),$(PL_NEEDS_FPIC)),-fPIC) \