| Commit message (Collapse) | Author | Files | Lines |
|
Updates #3937.
|
|
This fixes an issue with the latest tool chain which adds the default
linker script in the endfile specification.
Update #3250.
|
|
Adjust build support files to new directory layout.
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 #3520.
|
|
Updates #3520.
|
|
Patch was not intended to be pushed yet.
Updates #3520.
|
|
Done:
arm
bfin
epiphany
i386
lm32
m32c
mips
moxie
nios2
or1k
powerpc
riscv
sh
sparc
sparc64
v850
To do:
m68k
Differences noted:
+ endfile was sometimes before startfile
+ endfile sometimes was hard-coded and did not have -qrtems version
+ Should -e XXX (e.g. entry point) be in linkcmds?
+ Should -u XXX (e.g. undefined symbols) be in linkcmds?
+ Typos: Odd spacing, "old_endfiles" typo, and *(old_endfiles) (not %)
+ nios2: Referenced crtnn.o not crtn.o (error)
Need to revisit:
+ m32c, moxie, sparc64 includes !nostdlib which is not used elsewhere
+ sh has -EL/-EB mapping. Why needed?
+ sparc64 didn't include crti.o/crtn.o but it is part of toolset
+ v850 uses something like this for link and end_file:
"%{qrtems: %(old_link)}"
This means that these are unnecessary. Try this on all.
+ mips uses old_link all the time also.
+ arm/tms750 adds -EB.
+ powerpc: Why do we have rtems_crt* and not use something from GCC?
Updates #3520.
|
|
Fix typo.
closes 2345.
|
|
|
|
PR 1781/bsps
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
preinstall.am, times, console/console.c, include/bsp.h,
include/cplb.h, include/tm27.h, make/custom/TLL6527M.cfg,
startup/bspstart.c, startup/linkcmds: New files.
Initial port for the TLL6527Mboard that contains blackfin 52X
range of processors. Used eZKit533 as a reference for building
the port.
|
|
* bsp_specs: Move -e start from *link to *startfile to avoid warning
for undefined entry symbol when linking relocatables with binutils
2.19.
|
|
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
preinstall.am, console/console.c, include/bsp.h,
network/networkconfig.c, start/start.S, startup/bspstart.c,
startup/linkcmds: New files.
|
|
* bsp_specs: Remove qrtems_debug.
|
|
* bfin/ChangeLog, bfin/Makefile.am, bfin/acinclude.m4,
bfin/configure.ac, bfin/eZKit533/.cvsignore, bfin/eZKit533/ChangeLog,
bfin/eZKit533/Makefile.am, bfin/eZKit533/README,
bfin/eZKit533/bsp_specs, bfin/eZKit533/configure,
bfin/eZKit533/configure.ac, bfin/eZKit533/preinstall.am,
bfin/eZKit533/times, bfin/eZKit533/console/console-io.c,
bfin/eZKit533/include/.cvsignore, bfin/eZKit533/include/bsp.h,
bfin/eZKit533/include/bspopts.h.in, bfin/eZKit533/include/coverhd.h,
bfin/eZKit533/include/tm27.h, bfin/eZKit533/startup/bspstart.c,
bfin/eZKit533/startup/linkcmds, bfin/shared/clock/clockdrv.c,
bfin/shared/clock/rtc.c, bfin/shared/clock/tod.h,
bfin/shared/console/console.c, bfin/shared/start/start.S,
bfin/shared/timer/timer.c: New files.
|
|
* bsp_specs: Remove *lib:.
|
|
* bsp_specs: Remove -D__embedded__ -Asystem(embedded) from cpp.
Remove cpp, old_cpp (now unused).
|
|
* bsp_specs: Added support for -nostdlibs.
|
|
* bsp_specs: Replace -lrtemsall with -lrtemsbsp -lrtemscpu,
replace -lrtemsall_g with -lrtemsbsp_g -lrtemscpu_g.
|
|
Also removed bsp_postdriver_hook() from every bsp possible and moved
to shared version.
|
|
"gmake debug".
|
|
interpreted at the right point per Eric Norum's discovery:
The problem with the my previous `fix' for adding linker commands
was with the ordering of the options to the linker.
For example, to make a larger heap size, the application Makefile would
CFLAGS_LD = -Wl,--defsym -Wl,HeapSize=0x40000
The command passed to the linker would be :
m68k-rtems-ld .... -T xxx/linkcmds .... --defsym HeapSize=0x40000 .....
This doesn't work because the script in linkcmds inserts a default
value for HeapSize if HeapSize is not defined by the time the linker
looks at the linkcmds script.
The solution seems to be to move the -T linkcmds%s in the bsp_specs
file out of the link specfication and into the lib specification -- a
little unorthodox, perhaps, but it seems to work!
|
|
switch which lets the user specify a different linker script.
|
|
|
|
|
|
|