Commit Graph

24 Commits

Author SHA1 Message Date
Sebastian Huber
db8f598d56 build: Remove old build system
Close #3250.
Close #4081.
2021-09-21 07:39:09 +02:00
Sebastian Huber
e10dec0fe7 bsps: Support RTEMS_NOINIT in linkcmds
Update #3866.
2021-05-02 18:41:21 +02:00
Sebastian Huber
b361eabd93 bsps: Replace bsp_specs with an empty file
This fixes an issue with the latest tool chain which adds the default
linker script in the endfile specification.

Update #3250.
2021-01-28 06:28:33 +01:00
Sebastian Huber
ffa1153170 bsps: Add RamEnd to linker command files
Update #3838.
2020-02-04 05:52:28 +01:00
Sebastian Huber
bb99cd0d83 clock: Simplify driver initialization
Use a system initialization handler instead of a legacy IO driver.

Update #3834.
2019-12-11 09:05:07 +01:00
Sebastian Huber
a6b2080e1c clock: Remove Clock_exit() from API
This function is no longer supported by the standard clock driver
implementation (clockimpl.h).

Update #3436.
2019-12-11 09:04:49 +01:00
Sebastian Huber
e9c83b46a0 bsps: Regenerate headers.am
Update #3269.
2019-07-05 09:04:34 +02:00
Sebastian Huber
45d06591f1 bsps: Always build generic interrupt support
This makes it possible to write tests for the generic interrupt
controller support.

Update #3269.
2019-05-16 07:29:24 +02:00
Sebastian Huber
c991eeeccc bsps: Adjust bsp.h Doxygen groups
Update #3706.
2019-03-08 07:42:54 +01:00
Shashvat Jain
f57d4d584e m68k/mcf5206elite:Add per-section compilation and linking support (GCI 2018)
The size of the sample executables without this option were:

   text	   data	    bss	    dec	    hex	filename
  70704	   1104	  11008	  82816	  14380	./base_sp.exe
 202640	   2096	  14288	 219024	  35790	./capture.exe
 240416	   2864	  12016	 255296	  3e540	./cdtest.exe
 851024	  21840	  18736	 891600	  d9ad0	./cxx_iostream.exe
 570560	   4640	  23760	 598960	  923b0	./fileio.exe
 104928	   1456	  11168	 117552	  1cb30	./hello.exe
 249904	   5968	  17776	 273648	  42cf0	./loopback.exe
  38304	    288	   6864	  45456	   b190	./minimum.exe
  94416	   1584	  11136	 107136	  1a280	./nsecs.exe
 179728	   1856	  11744	 193328	  2f330	./paranoia.exe
 435296	  12048	  40912	 488256	  77340	./pppd.exe
  73856	   1120	  11040	  86016	  15000	./ticker.exe
  74048	   1072	  14928	  90048	  15fc0	./unlimited.exe

The size of the sample executables with this option were:

   text	   data	    bss	    dec	    hex	filename
 172384	   2176	  12160	 186720	  2d960	./cxx_iostream.exe
 558320	   4608	  23440	 586368	  8f280	./fileio.exe
  96256	   1456	  11136	 108848	  1a930	./hello.exe
 234144	   5968	  17712	 257824	  3ef20	./loopback.exe
  37648	    288	   6832	  44768	   aee0	./minimum.exe
  88560	   1568	  11056	 101184	  18b40	./nsecs.exe
 171360	   1856	  11712	 184928	  2d260	./paranoia.exe
 422992	  12032	  40848	 475872	  742e0	./pppd.exe
  69120	   1120	  10960	  81200	  13d30	./ticker.exe
  72464	   1072	  14896	  88432	  15970	./unlimited.exe
  66256	   1088	  10928	  78272	  131c0	./base_sp.exe
 189296	   2096	  14256	 205648	  32350	./capture.exe
 172272	   2096	  11968	 186336	  2d7e0	./cdtest.exe

Closes #2572
2018-11-29 13:02:12 -06:00
Sebastian Huber
cc61d5cdb2 bsps/m68k: Use interrupt stack for init stack
Update #3459.
2018-11-19 07:15:47 +01:00
Sebastian Huber
715d6167e0 bsps: Support .rtemsstack.* linker input sections
Use a dedicated memory region or place it between the BSS and workspace.

Update #3459.
2018-06-27 08:58:16 +02:00
Sebastian Huber
419d1e91a2 bsp/mcf5206elite: Do not install runtest script
Provide the runtest script only as a part of the sources.  This
simplifies the build system.

Test support should be included in the RTEMS Tester.
2018-04-26 07:17:58 +02:00
Sebastian Huber
eb36d1198c bsps: Move documentation, etc. files to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-26 07:17:57 +02:00
Sebastian Huber
a79d650d0d bsp/mcf5206elite: Move nvram.c to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-25 11:02:24 +02:00
Sebastian Huber
4fb1b79a80 bsps: Move RTC drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:44 +02:00
Sebastian Huber
a2dad96ab7 bsps: Move I2C drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:43 +02:00
Sebastian Huber
adb85dd473 bsps: Move make/custom/* files to bsps
Adjust various build files.  Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02:00
Sebastian Huber
9964895866 bsps: Move startup files to bsps
Adjust build support files to new directory layout.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:52:14 +02:00
Sebastian Huber
fbcd7c8fa6 bsps: Move start files to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:08:36 +02:00
Sebastian Huber
d7d66d7d45 bsps: Move console drivers to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 13:08:32 +02:00
Sebastian Huber
2190bc61bf bsps/mcf5206elite: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 15:12:49 +02:00
Joel Sherrill
ca866cc519 mcf5206elite/include/ds1307.h: Fix extra tokens at end of #endif warning 2018-03-16 08:36:17 -05:00
Chris Johns
2afb22b7e1 Remove make preinstall
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.
2018-01-25 08:45:26 +01:00