Empting libcpu ...

Chris Johns chrisj at rtems.org
Fri Mar 23 02:47:53 UTC 2018


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


More information about the devel mailing list