| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The subdir-objects do not work currently due to BSP sources in bsps and
c and the existing build tree layout.
Update #3387.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
A "make distclean" is not supported. So, it makes no sense to have pure
"make distclean" related stuff in the Makefile.am.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
| |
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs.
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
| |
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file. Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.
Use the following directories and files:
* bsps/shared/cache
* bsps/@RTEMS_CPU@/shared/cache
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c
Update #3285.
|
|
|
|
|
| |
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This is necessary to pick up mandatory flags provided by the build
system.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to easily use
EXTRA_DIST += foobar
in fragments.
Update #3254.
|
|
|
|
| |
Update #3254.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Update #3254.
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Updates #3250.
|
|
|
|
|
|
|
|
|
| |
Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.
Update #3254.
|
|
|
|
|
|
|
| |
This header file contained timing overhead values which are hard to
maintain.
Update #3254.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Update #3239.
|
|
|
|
|
|
|
|
| |
The BSP_output_char should output a char and not mingle with high level
processing, e.g. '\n' to '\r\n' translation. Move this translation to
rtems_putc(). Remove it from all the BSP_output_char implementations.
Close #3122.
|
|
|
|
| |
Update #2833.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the testsuite configuration files to hold state information about
a test. The states are:
exclude - Do not build the test
expected-fail - The test is expected to fail
indeterminate - The test may pass or may fail
A message is printed just after the test's BEGIN message to indicate
there is a special state for the test. No state message means the test
is expected to pass.
This support requires tests are correctly written to the use standard
support to begin and end a test.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updates #2577.
For the rtl22xx BSP variant without this option,
sample executables sizes were as follows:
text data bss dec hex filename
87223 1820 436320 525363 80433 ticker.exe
27915 1216 496224 525355 8042b minimum.exe
409638 12704 103008 525350 80426 pppd.exe
183260 2456 339648 525364 80434 capture.exe
105441 1908 418016 525365 80435 nsecs.exe
168295 2204 354848 525347 80423 paranoia.exe
181768 1852 341728 525348 80424 cdtest.exe
84419 1820 439136 525375 8043f base_sp.exe
86347 1828 437184 525359 8042f unlimited.exe
99595 1772 424000 525367 80437 hello.exe
252540 6596 266240 525376 80440 loopback.exe
For the rtl22xx BSP variant with this option,
sample executables sizes were as follows:
text data bss dec hex filename
82141 1732 441472 525345 80421 ticker.exe
20545 284 504512 525341 8041d minimum.exe
379745 12484 133120 525349 80425 pppd.exe
175592 2360 347392 525344 80420 capture.exe
100851 1820 422688 525359 8042f nsecs.exe
163053 2108 360192 525353 80429 paranoia.exe
174692 1764 348896 525352 80428 cdtest.exe
79193 1732 444448 525373 8043d base_sp.exe
78701 1716 444928 525345 80421 unlimited.exe
91561 1644 432160 525365 80435 hello.exe
234116 6420 284832 525368 80438 loopback.exe
For the rtl22xx_t BSP variant without this option,
sample executables sizes were as follows:
text data bss dec hex filename
62167 1820 461376 525363 80433 ticker.exe
21003 1216 503136 525355 8042b minimum.exe
369737 5896 149728 525361 80431 fileio.exe
286854 12704 225792 525350 80426 pppd.exe
133052 2456 389856 525364 80434 capture.exe
75437 1908 448000 525345 80421 nsecs.exe
123959 2204 399200 525363 80433 paranoia.exe
134660 1852 388864 525376 80440 cdtest.exe
60315 1820 463232 525367 80437 base_sp.exe
61767 1828 461760 525355 8042b unlimited.exe
72191 1772 451392 525355 8042b hello.exe
174588 6596 344192 525376 80440 loopback.exe
For the rtl22xx_t BSP variant with this option,
sample executables sizes were as follows:
text data bss dec hex filename
59021 1732 464608 525361 80431 ticker.exe
15757 284 509312 525353 80429 minimum.exe
366096 1972 157280 525348 80424 cxx_iostream.exe
360911 5808 158656 525375 8043f fileio.exe
267485 12484 245376 525345 80421 pppd.exe
128224 2360 394784 525368 80438 capture.exe
72611 1820 450944 525375 8043f nsecs.exe
121041 2108 402208 525357 8042d paranoia.exe
129488 1764 394112 525364 80434 cdtest.exe
57049 1732 466592 525373 8043d base_sp.exe
56833 1716 466816 525365 80435 unlimited.exe
66921 1644 456800 525365 80435 hello.exe
163104 6420 355840 525364 80434 loopback.exe
|
|
|
|
| |
Update #2408.
|
|
|
|
|
|
| |
Use the bsp_predriver_hook() instead.
Update #2408.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was done by the following script run from libbsp:
find * -name bsp.h | xargs -e grep -l "#ifndef.*_BSP_H" | while read b
do
echo $b
cpu=`echo $b | cut -d'/' -f1 | tr '[:lower:]' '[:upper:]' `
bsp=`echo $b | cut -d'/' -f2 | tr '[:lower:]' '[:upper:]' `
g="LIBBSP_${cpu}_${bsp}_BSP_H"
# echo $g
sed -e "s/ifndef _BSP_H/ifndef ${g}/" \
-e "s/define _BSP_H/define ${g}/" \
-i $b
done
|
|
|
|
|
|
| |
Fix typo.
closes 2345.
|
| |
|
|
|
|
| |
Close #2303.
|
| |
|
| |
|
|
|
|
|
| |
This section can be use to provide a cache coherent memory area via
rtems_cache_coherent_add_area().
|
|
|
|
| |
Some includes may use C++ and this conflicts if surrounded extern "C".
|
| |
|
| |
|
| |
|
| |
|