<div dir="auto">I have been doing a bootstrap -c before each pull recently. If not, you have to manually remove any remnant Makefile.in files. Quite confusing and has bitten myself, Jeff, and Jennifer.<div dir="auto"><br></div><div dir="auto">Maybe bootstrap -c could be smarter.<br><div dir="auto"><br></div><div dir="auto"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 22, 2018 9:48 PM, "Chris Johns" <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have:<br>
<br>
make[6]: Entering directory<br>
'/opt/work/chris/rtems/kernel/<wbr>bsps/xilinx_zynq_zedboard/arm-<wbr>rtems5/c/xilinx_zynq_zedboard/<wbr>lib/libcpu/arm'<br>
gmake[6]: *** No rule to make target 'all-am'.  Stop.<br>
gmake[6]: Leaving directory<br>
'/opt/work/chris/rtems/kernel/<wbr>bsps/xilinx_zynq_zedboard/arm-<wbr>rtems5/c/xilinx_zynq_zedboard/<wbr>lib/libcpu/arm'<br>
gmake[5]: *** [Makefile:654: arm] Error 2<br>
<br>
Git will not remove a directory if there are untracked files present such as<br>
configure and Makefile.in which means:<br>
<br>
RTEMS_CPU_SUBDIRS(lib/libcpu)<br>
if test -d "${srcdir}/lib/libcpu/${RTEMS_<wbr>CPU}"; then<br>
  libcpu_cpu_subdir="${RTEMS_<wbr>CPU}"<br>
else<br>
  libcpu_cpu_subdir=<br>
fi<br>
AC_SUBST(libcpu_cpu_subdir)<br>
<br>
thinks there is a libcpu even after cleaning up the generated files. Maybe the<br>
test should be:<br>
<br>
RTEMS_CPU_SUBDIRS(lib/libcpu)<br>
if test -d "${srcdir}/lib/libcpu/${RTEMS_<wbr>CPU}/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>"; then<br>
  libcpu_cpu_subdir="${RTEMS_<wbr>CPU}"<br>
else<br>
  libcpu_cpu_subdir=<br>
fi<br>
AC_SUBST(libcpu_cpu_subdir)<br>
<br>
?<br>
<br>
Patch posted.<br>
<br>
Chris<br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div></div>