The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=00f68392130cf597c7c76669c63dab26b31630c1

commit 00f68392130cf597c7c76669c63dab26b31630c1
Author:     Andrew Turner <[email protected]>
AuthorDate: 2026-02-03 14:00:46 +0000
Commit:     Andrew Turner <[email protected]>
CommitDate: 2026-02-03 17:11:50 +0000

    libc/aarch64: Add a Makefile.inc dependency
    
    If we update Makefile.inc it may be to change the contents of these
    files.
    
    Reviewed by:    imp
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D54774
---
 lib/libc/aarch64/string/Makefile.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libc/aarch64/string/Makefile.inc 
b/lib/libc/aarch64/string/Makefile.inc
index 528c19574a1c..faf2f4566b30 100644
--- a/lib/libc/aarch64/string/Makefile.inc
+++ b/lib/libc/aarch64/string/Makefile.inc
@@ -46,8 +46,8 @@ MDSRCS+= \
 # override the generated file in these cases.
 #
 .for FUNC in ${AARCH64_STRING_FUNCS}
-.if !exists(${FUNC}.S)
-${FUNC}.S:
+.if !exists(${LIBC_SRCTOP}/aarch64/string/${FUNC}.S)
+${FUNC}.S: ${LIBC_SRCTOP}/aarch64/string/Makefile.inc
        printf '/* %sgenerated by libc/aarch64/string/Makefile.inc */\n' @ > 
${.TARGET}
        printf '#define __%s_aarch64 %s\n' ${FUNC} ${FUNC} >> ${.TARGET}
        printf '#include "aarch64/%s.S"\n' ${FUNC} >> ${.TARGET}

Reply via email to