source: rtems/c/src/lib/libbsp/ @ e0ba3e8
Last change on this file since e0ba3e8 was e0ba3e8, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 10, 2000 at 7:23:38 PM

Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@…>
that addresses aspects of the targopts.h multilib related


  • Move targopts.h to libbsp/include, because the current targopts.h actually is a per-BSP-header and therefore can not stay below exec/.
  • Introduce an autoheader generated header file (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu configuration options only.
  • Move all autoconf-detectable/configure specified per-cpu option-defines from targopts.h to cpuopts.h.
  • Add Makefiles to the libbsp/shared directory hierarchy.


  • The new per-bsp targopts.h in libbsp includes the per-cpu cpuopts.h. This way, the new targopts.h is kept backward compatible to the old targopts.h and existing BSPs which (carelessly) include targopts.h (i386, ppc) should be kept working when using the multilib-disabled configuration scheme.
  • cpuopts.h is not yet complete, because the per-BSP make-targopts rules from custom/<BSP>.cfg files can not be applied to files below exec/ when building multilibs.
  • All files below exec/ should not include targopts.h anymore, but should include cpuopts.h instead. However, eliminating inclusion of targopts.h currently triggers further structural / header file inclusion related issues, because several ports apply BSP or CPU_MODEL specific defines from targopts.h below exec/
  • Property mode set to 100644
File size: 584 bytes
2## $Id$
5AUTOMAKE_OPTIONS = foreign 1.4
8# If we are building a "real" BSP, then we need to descend into the
9# appropriate CPU specific directory.  The bare BSP is a special
10# case which can be built for any CPU and it resides at the same
11# level as the CPUs.  If we are building the bare BSP, then descend
12# into that directory.
14SUBDIRS += include shared shmdr @RTEMS_LIBBSP_CPU_SUBDIR@
18include $(top_srcdir)/../../../../automake/
19include $(top_srcdir)/../../../../automake/
Note: See TracBrowser for help on using the repository browser.