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
This commit is contained in:
@@ -46,8 +46,8 @@ MDSRCS+= \
|
|||||||
# override the generated file in these cases.
|
# override the generated file in these cases.
|
||||||
#
|
#
|
||||||
.for FUNC in ${AARCH64_STRING_FUNCS}
|
.for FUNC in ${AARCH64_STRING_FUNCS}
|
||||||
.if !exists(${FUNC}.S)
|
.if !exists(${LIBC_SRCTOP}/aarch64/string/${FUNC}.S)
|
||||||
${FUNC}.S:
|
${FUNC}.S: ${LIBC_SRCTOP}/aarch64/string/Makefile.inc
|
||||||
printf '/* %sgenerated by libc/aarch64/string/Makefile.inc */\n' @ > ${.TARGET}
|
printf '/* %sgenerated by libc/aarch64/string/Makefile.inc */\n' @ > ${.TARGET}
|
||||||
printf '#define __%s_aarch64 %s\n' ${FUNC} ${FUNC} >> ${.TARGET}
|
printf '#define __%s_aarch64 %s\n' ${FUNC} ${FUNC} >> ${.TARGET}
|
||||||
printf '#include "aarch64/%s.S"\n' ${FUNC} >> ${.TARGET}
|
printf '#include "aarch64/%s.S"\n' ${FUNC} >> ${.TARGET}
|
||||||
|
|||||||
Reference in New Issue
Block a user