| Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
These were remnants of pre-Doxygen comment style.
|
|
|
|
|
|
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.
|
|
* cpu.c, rtems/score/cpu.h, rtems/score/m68k.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
|
|
* rtems/score/m68k.h: Don't include rtems/score/types.h,
rtems/stdint.h.
|
|
* rtems/score/m68k.h: Move set cacr, acr0, acr1 routines here to get
them out of a BSP.
|
|
|
|
* cpukit/sapi/include/confdefs.h: Add missing quote to string to
remove warning.
* cpukit/score/cpu/m68k/rtems/score/m68k.h: Add the default
priority level for large memory Coldfires.
|
|
* rtems/score/m68k.h: There is no point in defining the maximum
priorities to 255. priority.h will default it to this.
|
|
* cpu_asm.S: Add Coldfire FPU support.
* rtems/score/m68k.h: Change the Coldfire CPU defines to be based
on the instruction set. Add Tiny RTEMS support to the small memory
model RTEMS processors.
* rtems/score/cpu.h: Handle the new Tiny RTEMS support.
|
|
* rtems/score/m68k.h: Add stubs for mcf5307, mcf5407, mcfv4e.
|
|
|
|
|
|
operations. The "memory" barrier will move the the generic interrupt
enable/disable/flash macros.
|
|
PR 803/patch
* rtems/score/cpu.h, rtems/score/m68k.h: Correct definition of _VBR.
|
|
* rtems/score/cpu.h, rtems/score/m68k.h: Change declaration of _VBR.
|
|
* rtems/score/m68k.h: Change _ColdFire_VBR to _VBR.
|
|
* rtems/score/cpu.h: Change definition of _VBR to a simple pointer.
* rtems/score/m68k.h: Remove use of _Coldfire_VBR.
|
|
* rtems/m68k/m68302.h, rtems/m68k/m68360.h, rtems/m68k/qsm.h,
rtems/m68k/sim.h, rtems/score/m68k.h: Header guards cleanup.
|
|
|
|
|
|
* rtems/score/m68k.h: *_swap_u32( uint32_t ).
|
|
* rtems/score/m68k.h: *_swap_u16( uint16_t ).
|
|
|
|
* rtems/score/m68k.h: Use (defined(__mc68020__) && !defined(__mcpu32__))
instead of defined(__mc68020__) to reflect GCC-3.4's expectations.
|
|
* rtems/score/cpu.h: Add doxygen preamble.
* rtems/score/m68k.h: Add doxygen preamble.
* rtems/score/types.h: Add doxygen preamble.
|
|
* rtems/score/m68k.h: Add include of <stdint.h> for uint32_t used by
endian swapping routines.
|
|
* cpu.c, m68302.h, rtems/score/cpu.h, rtems/score/m68k.h: Convert to
using c99 fixed size types.
|
|
* cpu.c, cpu_asm.S, rtems/score/cpu.h, rtems/score/m68k.h,
rtems/score/types.h: URL for license changed.
|
|
* rtems/score/m68k.h: Per PR227, mc68060 does not require FPSP
since it is now multilib'ed.
|
|
* Per PR94, all rtems/score/CPUtypes.h are named rtems/score/types.h.
* include/rtems/score/ispsh7750.h, score/ispsh7750.c: Account for
name change.
|
|
* rtems/score/m68k.h: m68k_swap_u32 fix typo.
|
|
* rtems/score/m68k.h [M68K_COLDFIRE_ARCH] (CPU_swap_u16, CPU_swap_u32):
Generic implementation of endian swap primitives added for Coldfire
family.
|
|
now is an implementation of the prototypes in rtems/rtems/cache.h.
The libcpu/i386/wrapup directory is no longer needed.
The PowerPC needs this done to it.
|
|
<charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart
<Darlene.Stewart@nrc.ca> to add support for a number of very
significant things:
+ BSPs for many variations on the Motorola MBX8xx board series
+ Cache Manager including initial support for m68040
and PowerPC
+ Rework of mpc8xx libcpu code so all mpc8xx CPUs now use
same code base.
+ Rework of eth_comm BSP to utiltize above.
John reports this works on the 821 and 860
|
|
|
|
|
|
> 4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh
>
> reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
> similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
> contains the diffs after reorg-score-cpu.sh has been run on a
> rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.
>
> This patch is rather nasty and may break something. However, I've tested
> it for about 10 different target/bsp pairs and believe to have shaken
> out most bugs.
I wonder about the following .h files that were not moved:
a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h
|