Empting libcpu ...

Joel Sherrill joel at rtems.org
Fri Mar 23 03:20:23 UTC 2018


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.

Maybe bootstrap -c could be smarter.



On Mar 22, 2018 9:48 PM, "Chris Johns" <chrisj at rtems.org> wrote:

> Hi,
>
> I have:
>
> make[6]: Entering directory
> '/opt/work/chris/rtems/kernel/bsps/xilinx_zynq_zedboard/arm-
> rtems5/c/xilinx_zynq_zedboard/lib/libcpu/arm'
> gmake[6]: *** No rule to make target 'all-am'.  Stop.
> gmake[6]: Leaving directory
> '/opt/work/chris/rtems/kernel/bsps/xilinx_zynq_zedboard/arm-
> rtems5/c/xilinx_zynq_zedboard/lib/libcpu/arm'
> gmake[5]: *** [Makefile:654: arm] Error 2
>
> Git will not remove a directory if there are untracked files present such
> as
> configure and Makefile.in which means:
>
> RTEMS_CPU_SUBDIRS(lib/libcpu)
> if test -d "${srcdir}/lib/libcpu/${RTEMS_CPU}"; then
>   libcpu_cpu_subdir="${RTEMS_CPU}"
> else
>   libcpu_cpu_subdir=
> fi
> AC_SUBST(libcpu_cpu_subdir)
>
> thinks there is a libcpu even after cleaning up the generated files. Maybe
> the
> test should be:
>
> RTEMS_CPU_SUBDIRS(lib/libcpu)
> if test -d "${srcdir}/lib/libcpu/${RTEMS_CPU}/configure.ac"; then
>   libcpu_cpu_subdir="${RTEMS_CPU}"
> else
>   libcpu_cpu_subdir=
> fi
> AC_SUBST(libcpu_cpu_subdir)
>
> ?
>
> Patch posted.
>
> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180322/dd7473f3/attachment.html>


More information about the devel mailing list