Changeset e0ba3e8 in rtems for c/src/lib/libbsp/Makefile.am


Ignore:
Timestamp:
Jul 10, 2000, 7:23:38 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
ebb0bb92
Parents:
256cbec
Message:

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

Changes:

  • 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.

Notes:

  • 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/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/Makefile.am

    r256cbec re0ba3e8  
    1212# into that directory.
    1313
    14 SUBDIRS += shmdr @RTEMS_LIBBSP_CPU_SUBDIR@
     14SUBDIRS += include shared shmdr @RTEMS_LIBBSP_CPU_SUBDIR@
    1515
    1616EXTRA_DIST = MERGE.PROCEDURE bsp.am
Note: See TracChangeset for help on using the changeset viewer.