Notice: We have migrated to GitLab launching 2024-05-01 see here:

#394 closed defect (wontfix)

misc. RTEMS Makefile issues

Reported by: strauman Owned by: Ralf Corsepius
Priority: normal Milestone: 4.9
Component: build Version: 4.6
Severity: major Keywords:
Cc: bugs@…, joel.sherrill@… Blocked By:


These patches addresses the following issues:

  • all make/custom/<bsp>.cfg files should consistently include 'default.cfg' _after_ defining RTEMS_CPU and RTEMS_BSP_FAMILY, respectively so these variables can subsequently be used in 'include()' directives.

What is the bug you are trying to fix?

IMO, this patch is bogus:

  • default.cfg is supposed to set up the defaults. Nothing inside of default.cfg is supposed to be overriden from other *.cfgs.
  • *.cfgs are supposed to be able to include other *.cfg recursively, to avoid code duplication.

=> There is no need to include default.cfg in all <bsp.cfg>.

  • install libnetapps.a as a separate library, unbundled from librtemsbsp.a - the netapps severely pollute global name space.
  • install partial libraries in addition to librtemsbsp and librtemscpu

These two issues are separate topics, I am filing separate PRs on them.

  • final 'gcc-target-default.cfg' should add LD_PATHS to the LDFLAGS

Yet another different topic, I am refiling a new PR.

NOTE: the 'make/custom/<bsp>.cfg' patch is a separate


Attachments (1)

make_custom_defaultinc.diff (62.9 KB) - added by strauman on 12/03/06 at 13:31:13.

Download all attachments as: .zip

Change History (2)

Changed on 12/03/06 at 13:31:13 by strauman

Attachment: make_custom_defaultinc.diff added


comment:1 Changed on 08/05/08 at 16:16:51 by Joel Sherrill

Cc: Joel Sherrill added
Milestone: 4.9
rep_platform: All
Resolution: wontfix
Status: assignedclosed

This has to be obsolete by now.

Note: See TracTickets for help on using tickets.