Changeset 55b69ed in rtems for cpukit


Ignore:
Timestamp:
Oct 15, 2018, 6:33:45 AM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e97806a
Parents:
7038271
git-author:
Sebastian Huber <sebastian.huber@…> (10/15/18 06:33:45)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/29/18 09:33:37)
Message:

Move default config to librtemsdefaultconfig.a

An RTEMS application default configuration is contained in
cpukit/libmisc/dummy/default-configuration.c. This default
configuration was contained in librtemscpu.a. This had at least two
problems:

  1. Application configuration errors may have pulled in the default configuration which in turn lead to multiply define symbols error. This was quite confusing. You had to consult the linker map file to figure out what cased the pull in of the default configuration. You needed to know what a linker map file is and how you generate it with your build system. This was not very user friendly.
  1. It prevented the use of default configuration items for each subsystem in librtemscpu.a. This may be used to reduce the size of the configuration itself.

Move the default configuration to the separate library
librtemsdefaultconfig.a.

Close #3551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r7038271 r55b69ed  
    282282librtemscpu_a_SOURCES += libmisc/devnull/devnull.c
    283283librtemscpu_a_SOURCES += libmisc/devnull/devzero.c
    284 librtemscpu_a_SOURCES += libmisc/dummy/default-configuration.c
    285284librtemscpu_a_SOURCES += libmisc/dummy/dummy-networking.c
    286285librtemscpu_a_SOURCES += libmisc/dumpbuf/dumpbuf.c
     
    18321831all-local: generate-vc-key
    18331832
     1833project_lib_LIBRARIES += librtemsdefaultconfig.a
     1834
     1835librtemsdefaultconfig_a_SOURCES =
     1836librtemsdefaultconfig_a_SOURCES += libmisc/dummy/default-configuration.c
     1837
    18341838project_lib_LIBRARIES += libftpd.a
    18351839
Note: See TracChangeset for help on using the changeset viewer.