When copying over the binaries, use '-p' to preserve date/time
Although I can't reproduce it, others are seeing different lex/yacc programs always regenerated after my change to copy rather than symlink the files. The reported fix is to add '-p' to the copies. Since it doesn't hurt, go head and add it, though the reasons for this mattering remain at best obscure and poorly articulated.
This commit is contained in:
parent
e0e236ba88
commit
0e533c72bc
@ -2319,7 +2319,7 @@ ${_bt}-link-${_tool}: .PHONY .MAKE
|
|||||||
if [ ! -e "$${source_path}" ] ; then \
|
if [ ! -e "$${source_path}" ] ; then \
|
||||||
echo "Cannot find host tool '${_tool}'"; false; \
|
echo "Cannot find host tool '${_tool}'"; false; \
|
||||||
fi; \
|
fi; \
|
||||||
cp -f "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}"
|
cp -pf "$${source_path}" "${WORLDTMP}/legacy/bin/${_tool}"
|
||||||
${_bt}-links: ${_bt}-link-${_tool}
|
${_bt}-links: ${_bt}-link-${_tool}
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ host-symlinks:
|
|||||||
echo "Cannot find host tool '${_tool}'"; false; \
|
echo "Cannot find host tool '${_tool}'"; false; \
|
||||||
fi; \
|
fi; \
|
||||||
rm -f "${DESTDIR}/bin/${_tool}"; \
|
rm -f "${DESTDIR}/bin/${_tool}"; \
|
||||||
cp -f "$${source_path}" "${DESTDIR}/bin/${_tool}"
|
cp -pf "$${source_path}" "${DESTDIR}/bin/${_tool}"
|
||||||
.endfor
|
.endfor
|
||||||
.for _tool in ${_host_abs_tools_to_symlink}
|
.for _tool in ${_host_abs_tools_to_symlink}
|
||||||
@source_path="${_tool:S/:/ /:[1]}"; \
|
@source_path="${_tool:S/:/ /:[1]}"; \
|
||||||
@ -139,11 +139,11 @@ host-symlinks:
|
|||||||
echo "Host tool '${src_path}' is missing"; false; \
|
echo "Host tool '${src_path}' is missing"; false; \
|
||||||
fi; \
|
fi; \
|
||||||
rm -f "$${target_path}"; \
|
rm -f "$${target_path}"; \
|
||||||
cp -f "$${source_path}" "$${target_path}"
|
cp -pf "$${source_path}" "$${target_path}"
|
||||||
.endfor
|
.endfor
|
||||||
.if exists(/usr/libexec/flua)
|
.if exists(/usr/libexec/flua)
|
||||||
rm -f ${DESTDIR}/usr/libexec/flua
|
rm -f ${DESTDIR}/usr/libexec/flua
|
||||||
cp -f /usr/libexec/flua ${DESTDIR}/usr/libexec/flua
|
cp -pf /usr/libexec/flua ${DESTDIR}/usr/libexec/flua
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Create all the directories that are needed during the legacy, bootstrap-tools
|
# Create all the directories that are needed during the legacy, bootstrap-tools
|
||||||
|
Loading…
Reference in New Issue
Block a user