| Commit message (Collapse) | Author | Files | Lines |
|
Close #3250.
Close #4081.
|
|
This AC_CONFIG_SRCDIR() is just a sanity check in this insane build
system. Since all content of
c/src/lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@ is bound to be moved it
makes no sense to keep it.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
The subdir-objects do not work currently due to BSP sources in bsps and
c and the existing build tree layout.
Update #3387.
|
|
This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.
This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.
Close #3387.
|
|
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
|
Updates #3250.
|
|
Remove BSP-specific defaults for RTEMS_BSP_CLEANUP_OPTIONS to simplify
the BSP configuration and documentation. Change defaults to:
BSP_PRESS_KEY_FOR_RESET=0
BSP_RESET_BOARD_AT_EXIT=1
BSP_PRINT_EXCEPTION_CONTEXT=1
|
|
|
|
|
|
|
|
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
|
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac, gdb-init,
preinstall.am, clock/clock.c, console/console.c, console/debugio.c,
include/bsp.h, include/tm27.h, make/custom/mcf5225x.cfg,
start/start.S, startup/bspclean.c, startup/bspstart.c,
startup/init5225x.c, startup/linkcmds, timer/timer.c: New files.
|
|
|
|
* configure.ac: Remove RTEMS_BSP_BOOTCARD_OPTIONS.
|
|
* configure.ac: Rename BSP_BOOTCARD_OPTIONS to
RTEMS_BSP_BOOTCARD_OPTIONS. Add RTEMS_BSP_CLEANUP_OPTIONS so all BSPs
have the same options.
|
|
* configure.ac: Make letting boot_card() handle work area allocation
mandatory. Rename RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION to
BSP_BOOTCARD_OPTIONS.
|
|
* Makefile.am, configure.ac: Use standardized bsp_cleanup() which can
optionally print a message, poll for user to press key, and call
bsp_reset(). Using this eliminates the various bsp_cleanup()
implementations which had their own implementation and variety of
string constants.
* startup/bspclean.c: Removed.
|
|
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds,
startup/linkcmdsflash, startup/linkcmdsram: Add use of
bsp_get_work_area() in its own file and rely on BSP Framework to
perform more initialization. Remove unnecessary includes of
rtems/libio.h and rtems/libcsupport.h.
|
|
* Makefile.am: Add shared/m68kbspgetworkarea.c to sources.
* configure.ac: Add RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
* include/bsp.h: Add include bspopts.h.
* start/start.S: Formatting changes.
* startup/bspstart.c: Updated to use the shared BSP support.
|
|
* configure.ac: New BUG-REPORT address.
|
|
* configure.ac: Require autoconf-2.60. Require automake-1.10.
|
|
* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h,
include/tm27.h, network/network.c, start/start.S, startup/bspclean.c,
startup/bspstart.c, startup/init5235.c, startup/linkcmds,
startup/linkcmdsflash, startup/linkcmdsram, timer/timer.c: New files.
|
|
|
|
|
|
* configure.ac: Require automake > 1.9.
|
|
* configure.ac: Add nostdinc to AUTOMAKE_OPTIONS.
|
|
* Makefile.am: Merge-in clock/Makefile.am, console/Makefile.am,
network/Makefile.am, startup/Makefile.am, timer/Makefile.am,
wrapup/Makefile.am. Use automake compilation rules.
* clock/Makefile.am, console/Makefile.am, network/Makefile.am,
startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Remove.
* configure.ac: Reflect changes above.
|
|
* start/Makefile.am: Remove.
* Makefile.am: Merge-in start/Makefile.am.
* configure.ac: Reflect changes above.
|
|
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
|
|
* Makefile.am: Merge-in include/Makefile.am.
Reflect changes to bsp.am.
* include/Makefile.am: Remove.
* configure.ac: Reflect changes above.
|
|
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
|
|
|
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
* configure.ac: AC_PREREQ(2.57).
|
|
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* console/Makefile.am: Remove AUTOMAKE_OPTIONS.
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* network/Makefile.am: Remove AUTOMAKE_OPTIONS.
* start/Makefile.am: Remove AUTOMAKE_OPTIONS.
* startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
* configure.ac: Introduce RTEMS_BSP_CONFIGURE.
|
|
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
|
|
* configure.ac: Add bspopts.h; Add CPU_CLOCK_RATE_HZ.
* startup/bspstart.c: Replace HZ with CPU_CLOCK_RATE_HZ.
* include/.cvsignore: Add stamp-h* bspopts.h*
* include/bsp.h: Add bspopts.h.
|
|
* clock/Makefile.am, clock/ckinit.c, clock/.cvsignore, Makefile.am,
README, bsp_specs, console/Makefile.am, console/console.c,
console/.cvsignore, include/Makefile.am, include/bsp.h,
include/coverhd.h, include/syscall.h, include/ramdisk.h,
include/.cvsignore, start/Makefile.am, start/start.S,
start/.cvsignore, startup/Makefile.am, startup/bspstart.c,
startup/hw_init.c, startup/linkcmds, startup/linkcmds-le,
startup/linkcmds-le.coff, startup/.cvsignore, timer/Makefile.am,
timer/timer.c, timer/.cvsignore, wrapup/Makefile.am, wrapup/.cvsignore,
configure.ac, .cvsignore, ChangeLog: New files.
Reviewed and updated to latest automake and autoconf standards
by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
|
|
* Makefile.am, README, bsp_specs, .cvsignore, include/Makefile.am,
include/bsp.h, include/coverhd.h, include/sdram.h, include/.cvsignore,
start/Makefile.am, start/start.S, start/.cvsignore, startup/Makefile.am,
startup/bspstart.c, startup/linkcmds, startup/linkcmds.rom,
startup/linkcmds.rom2ram, startup/.cvsignore, wrapup/Makefile.am,
wrapup/.cvsignore, hw_init/Makefile.am, hw_init/hw_init.c,
hw_init/.cvsignore, times, configure.ac: New files.
Reviewed and updated to latest automake and autoconf standards
by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
|
|
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add
bspopts.h.
* include/.cvsignore: Add bspopts.h.
* include/bsp.h: Add bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of H_FILES.
* configure.in: Add bspopts.h.
|
|
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
|
* Shared memory support removed since it was non-functional.
* shmsupp/.cvsignore, shmsupp/Makefile.am, shmsupp/addrconv.c,
shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: Removed.
* configure.in, Makefile.am, wrapup/Makefile.am: Modified to
reflect above.
|
|
that is yet another multilib-related structual cleanup patch:
Changes:
* Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
- Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
cpuopts.h.
- Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
(aclocal/rtems-test-no-pause.m4).
- Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
and tmtests/configure.in. These are the only subdirectories which
currently apply RTEMS_TEST_NO_PAUSE.
- Add autoconf-DEFS support to all test subpackages' configure.ins
below tests/. I.e. AC_DEFINES now get explicitly propagated as
preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
tests/*/*.am, instead of using a global config-files.
- Remove NDEBUG from custom/*.cfg.
* AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
exec/configure.in, only.
- All other sources now should relay on the values from cpuopts.h
and should not define them themselves.
- Several related changes to many configure.ins
* Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
quoting bugs in autoconf).
Notes:
* This patch is rather immature and only tested for a small subset
of BSPs (requires the tests to be enabled and therefore takes an
tremendous amount of disc space and time.)
* The patches to *cfg were generated by a script. Expect file
formating changes :)
|
|
that contains:
* Removes remaining (now illegal) references to $(SRC) from a couple of
Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
libbsp/*/configure.ins (A minor bug in previous implementations, which
only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
handling)
|
|
that converts the a29k directory to automake.
NOTE: This port is not based on the GNU tools so no one can test it.
|