| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Close #3270.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 change starts with removing the effectively empty file
timerdrv.h. The prototypes for benchmark_timer_XXX() were in
btimer.h which was not universally used. Thus every use of
timerdrv.h had to be changed to btimer.h. Then the prototypes
for benchmark_timer_read() had to be adjusted to return
benchmark_timer_t rather than int or uint32_t.
I took this opportunity to also correct the file headers to
separate the copyright from the file description comments which
is needed to ensure the copyright isn't propagated into Doxygen
output.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c,
mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c,
mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c,
mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c,
mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
ppc403/clock/clock.c, ppc403/console/console.c,
ppc403/console/console.c.polled, ppc403/console/console405.c,
ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c,
rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
| |
|
|
|
|
|
|
| |
* mpc505/timer/timer.c, mpc5xx/timer/timer.c, mpc6xx/timer/timer.c,
mpc8260/timer/timer.c, mpc8xx/timer/timer.c, ppc403/timer/timer.c:
Rename timer driver methods to follow RTEMS programming conventions.
|
| |
|
|
|
|
|
| |
* mpc505/vectors/vectors.S, ppc403/vectors/vectors.S:
Remove PPC_ABI_POWEROPEN.
|
|
|
|
|
| |
* mpc505/vectors/vectors.S, ppc403/vectors/vectors.S:
Remove PPC_ABI_GCC27.
|
|
|
|
|
|
| |
* mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am,
mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am,
shared/Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
|
|
|
|
|
| |
* mpc505/Makefile.am, mpc5xx/Makefile.am, mpc6xx/Makefile.am,
mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am,
shared/Makefile.am: Remove build-variant support.
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/ictrl.c, mpc505/vectors/vectors.S,
mpc6xx/exceptions/raw_exception.c,
mpc8260/exceptions/raw_exception.c,
mpc8xx/exceptions/raw_exception.c, rtems/powerpc/cache.h,
mpc5xx/ictrl/ictrl.c, mpc5xx/exceptions/raw_exception.c: Include
<rtems/score/powerpc.h> instead of <rtems/score/ppc.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc6xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc6xx/mmu/mmuAsm.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc8260/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc8xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
* ppc403/vectors/vectors.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc5xx/exceptions/asm_utils.S: Include <rtems/asm.h> instead of <asm.h>.
* mpc8260/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
* mpc8xx/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
* ppc403/clock/clock.c: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/timer/timer.c, mpc5xx/timer/timer.c,
mpc6xx/clock/c_clock.c, mpc6xx/timer/timer.c, mpc8260/clock/clock.c,
mpc8260/console-generic/console-generic.c, mpc8260/cpm/cp.c,
mpc8260/cpm/dpram.c, mpc8260/include/cpm.h, mpc8260/include/mmu.h,
mpc8260/include/mpc8260.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c,
mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c,
mpc8xx/cpm/cp.c, mpc8xx/cpm/dpram.c, mpc8xx/include/cpm.h,
mpc8xx/include/mmu.h, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c,
mpc8xx/timer/timer.c, ppc403/clock/clock.c,
ppc403/console/console.c, ppc403/console/console405.c,
ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h, ppc403/timer/timer.c,
ppc403/tty_drv/tty_drv.c, rtems/powerpc/cache.h, shared/src/cache.c:
Convert to using c99 fixed size types.
|
| |
|
|
|
|
| |
* mpc505/Makefile.am: Fix typo.
|
|
|
|
|
| |
* mpc505/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am,
mpc8xx/Makefile.am, ppc403/Makefile.am: Don't include .../lib.am.
|
|
|
|
|
|
|
|
| |
* configure.ac: Require automake >= 1.8.2.
* Makefile.am, mpc505/Makefile.am, mpc6xx/Makefile.am,
mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am,
shared/Makefile.am: Use automake compilation rules.
Add PREINSTALL_DIRS.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
* mpc505/Makefile.am: Ditto.
* mpc6xx/Makefile.am: Ditto.
* mpc8260/Makefile.am: Ditto.
* mpc8xx/Makefile.am: Ditto.
* ppc403/Makefile.am: Ditto.
* shared/Makefile.am: Ditto.
|
|
|
|
|
|
| |
* mpc505/Makefile.am: Fix typo vectors/vectors.S.
* shared/Makefile.am: Fix typo
EXTRA_DIST = $(libcpuspec_C_FILES)
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am: Remove.
* mpc505/timer/Makefile.am: Remove.
* mpc505/vectors/Makefile.am: Remove.
* mpc505/Makefile.am: Merge-in Makefile.ams above.
* configure.ac: Reflect changes to mpc8xx/Makefile.ams.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc505/ictrl/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc6xx/clock/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc6xx/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc6xx/mmu/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc8260/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc8260/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc8xx/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* mpc8xx/exceptions/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* ppc403/ictrl/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* ppc403/tty_drv/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* shared/include/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* shared/src/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am: Remove all-local: $(ARCH).
* mpc505/timer/Makefile.am: Remove all-local: $(ARCH).
* mpc505/vectors/Makefile.am: Remove all-local: $(ARCH).
* mpc6xx/clock/Makefile.am: Remove all-local: $(ARCH).
* mpc6xx/exceptions/Makefile.am: Remove all-local: $(ARCH).
* mpc6xx/mmu/Makefile.am: Remove all-local: $(ARCH).
* mpc6xx/timer/Makefile.am: Remove all-local: $(ARCH).
* mpc6xx/wrapup/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/clock/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/console-generic/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/cpm/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/exceptions/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/mmu/Makefile.am: Remove all-local: $(ARCH).
* mpc8260/timer/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/clock/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/console-generic/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/cpm/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/exceptions/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/mmu/Makefile.am: Remove all-local: $(ARCH).
* mpc8xx/timer/Makefile.am: Remove all-local: $(ARCH).
* ppc403/clock/Makefile.am: Remove all-local: $(ARCH).
* ppc403/console/Makefile.am: Remove all-local: $(ARCH).
* ppc403/ictrl/Makefile.am: Remove all-local: $(ARCH).
* ppc403/timer/Makefile.am: Remove all-local: $(ARCH).
* ppc403/tty_drv/Makefile.am: Remove all-local: $(ARCH).
* ppc403/vectors/Makefile.am: Remove all-local: $(ARCH).
* shared/include/Makefile.am: Remove all-local: $(ARCH).
* shared/src/Makefile.am: Remove all-local: $(ARCH).
* wrapup/Makefile.am: Remove all-local: $(ARCH).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc505/Makefile.am: Reformat.
* mpc505/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc505/timer/Makefile.am: Reformat.
* mpc505/vectors/Makefile.am: Reformat.
* mpc6xx/Makefile.am: Reformat.
* mpc6xx/clock/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/mmu/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc6xx/timer/Makefile.am: Reformat.
* mpc6xx/wrapup/Makefile.am: Reformat.
* mpc8260/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8260/clock/Makefile.am: Reformat.
* mpc8260/console-generic/Makefile.am: Reformat.
* mpc8260/cpm/Makefile.am: Reformat.
* mpc8260/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8260/mmu/Makefile.am: Reformat.
* mpc8260/timer/Makefile.am: Reformat.
* mpc8xx/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8xx/clock/Makefile.am: Reformat.
* mpc8xx/console-generic/Makefile.am: Reformat.
* mpc8xx/cpm/Makefile.am: Reformat.
* mpc8xx/exceptions/Makefile.am: Reformat. Use dirstamp for preinstallation.
* mpc8xx/mmu/Makefile.am: Reformat.
* mpc8xx/timer/Makefile.am: Reformat.
* ppc403/Makefile.am: Reformat.
* ppc403/clock/Makefile.am: Reformat.
* ppc403/console/Makefile.am: Reformat.
* ppc403/ictrl/Makefile.am: Reformat. Use dirstamp for preinstallation.
* ppc403/timer/Makefile.am: Reformat.
* ppc403/tty_drv/Makefile.am: Reformat. Use dirstamp for preinstallation.
* ppc403/vectors/Makefile.am: Reformat.
* shared/Makefile.am: Reformat.
* shared/include/Makefile.am: Reformat. Use dirstamp for preinstallation.
* shared/src/Makefile.am: Reformat. Use dirstamp for preinstallation.
* wrapup/Makefile.am: Reformat.
|
|
|
|
|
|
| |
* mpc505/timer/timer.c, ppc403/console/console.c,
ppc403/console/console405.c: Removed incorrect statement about
copyright assignment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile.am: Reflect having moved automake.
mpc505/Makefile.am: Reflect having moved automake.
mpc505/ictrl/Makefile.am: Reflect having moved automake.
mpc505/timer/Makefile.am: Reflect having moved automake.
mpc505/vectors/Makefile.am: Reflect having moved automake.
mpc6xx/Makefile.am: Reflect having moved automake.
mpc6xx/clock/Makefile.am: Reflect having moved automake.
mpc6xx/exceptions/Makefile.am: Reflect having moved automake.
mpc6xx/mmu/Makefile.am: Reflect having moved automake.
mpc6xx/timer/Makefile.am: Reflect having moved automake.
mpc6xx/wrapup/Makefile.am: Reflect having moved automake.
mpc8260/Makefile.am: Reflect having moved automake.
mpc8260/clock/Makefile.am: Reflect having moved automake.
mpc8260/console-generic/Makefile.am: Reflect having moved automake.
mpc8260/cpm/Makefile.am: Reflect having moved automake.
mpc8260/exceptions/Makefile.am: Reflect having moved automake.
mpc8260/mmu/Makefile.am: Reflect having moved automake.
mpc8260/timer/Makefile.am: Reflect having moved automake.
mpc8xx/Makefile.am: Reflect having moved automake.
mpc8xx/clock/Makefile.am: Reflect having moved automake.
mpc8xx/console-generic/Makefile.am: Reflect having moved automake.
mpc8xx/cpm/Makefile.am: Reflect having moved automake.
mpc8xx/exceptions/Makefile.am: Reflect having moved automake.
mpc8xx/mmu/Makefile.am: Reflect having moved automake.
mpc8xx/timer/Makefile.am: Reflect having moved automake.
ppc403/Makefile.am: Reflect having moved automake.
ppc403/clock/Makefile.am: Reflect having moved automake.
ppc403/console/Makefile.am: Reflect having moved automake.
ppc403/ictrl/Makefile.am: Reflect having moved automake.
ppc403/timer/Makefile.am: Reflect having moved automake.
ppc403/tty_drv/Makefile.am: Reflect having moved automake.
ppc403/vectors/Makefile.am: Reflect having moved automake.
shared/Makefile.am: Reflect having moved automake.
shared/include/Makefile.am: Reflect having moved automake.
shared/src/Makefile.am: Reflect having moved automake.
wrapup/Makefile.am: Reflect having moved automake.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Remove RTEMS_CHEC_CUSTOM_BSP.
* mpc505/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc505/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc505/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc6xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc6xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc6xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc6xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc6xx/wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8260/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/console-generic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/cpm/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/exceptions/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/mmu/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mpc8xx/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/ictrl/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/tty_drv/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* ppc403/vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shared/include/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shared/src/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc505/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc6xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8260/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/console-generic/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/cpm/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/exceptions/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/mmu/Makefile.am: Use .$(OBJEXT) instead of .o.
* mpc8xx/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/clock/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/console/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/ictrl/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/timer/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/tty_drv/Makefile.am: Use .$(OBJEXT) instead of .o.
* ppc403/vectors/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/include/Makefile.am: Use .$(OBJEXT) instead of .o.
* shared/src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* mpc505/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc505/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc6xx/wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8260/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/console-generic/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/cpm/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/exceptions/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/mmu/Makefile.am: Remove AUTOMAKE_OPTIONS.
* mpc8xx/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/clock/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/console/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/ictrl/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/timer/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/tty_drv/Makefile.am: Remove AUTOMAKE_OPTIONS.
* ppc403/vectors/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/Makefile.am: Remove AUTOMAKE_OPTIONS.
* shared/src/Makefile.am: Remove AUTOMAKE_OPTIONS.
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am,
mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am,
mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am,
old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am,
shared/include/Makefile.am, shared/src/Makefile.am:
Apply *_HEADERS instead of *H_FILES.
* shared/src/.cvsignore: Add cache.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added full support for MPC505.
* mpc505/ictrl: New directory.
* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
* mpc505/vectors/Makefile.am: alignment exception handler now included.
* mpc505/vectors/vectors.S: Now use constants for exception numbers.
* old_exception_processing/ppc_offs.h: New file.
* old_exception_processing/Makefile.am: Account for ppc_offs.h.
* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc505/timer/Makefile.am, mpc505/vectors/Makefile.am,
mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am,
mpc6xx/mmu/Makefile.am, mpc6xx/timer/Makefile.am,
mpc6xx/wrapup/Makefile.am, ppc403/clock/Makefile.am,
ppc403/console/Makefile.am, ppc403/ictrl/Makefile.am,
ppc403/timer/Makefile.am, ppc403/vectors/Makefile.am,
shared/include/Makefile.am, shared/src/Makefile.am,
wrapup/Makefile.am, mpc8xx/clock/Makefile.am,
mpc8xx/console-generic/Makefile.am, mpc8xx/cpm/Makefile.am,
mpc8xx/mmu/Makefile.am, mpc8xx/timer/Makefile.am,
mpc8xx/vectors/Makefile.am, new_exception_processing/Makefile.am,
old_exception_processing/Makefile.am: Include compile.am
|
| |
|
|
|
|
| |
adds .cvsignore.
|
|
|
|
|
|
|
|
|
|
| |
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:
* Modifications, (minor) corrections, cleanups to most existing
Makefile.ams
* Adds automake support to all remaining BSPs which have not yet been
converted to automake.
* Makefile.am for all remaining wrapup/Makefile.ams
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which does the following:
* some cleanups, fixes, addtions to the libbsp automake transition
patches
* The missing Automake transistion patches all libcpu/<cpu>/<variant>/*
previously not yet been converted to automake (libcpu/powerpc,
libcpu/hppa1.1, libcpu/mips64orion, libcpu/sparc)
=> With this patch, libcpu/*/* is under full automake control.
NOTES:
* This patch is tested by building for random set of bsps affected by
this patch, but not tested for all BSPs.
* The parts of this patch related to libcpu/powerpc fix many small bugs
inside of those Makefiles.
* Have a look into libcpu/powerpc/mpc6xx/, which is in rather bad shape,
IMO. Obviously most subdirectories seem to be build but are not included
into libcpu.a by wrapup/Makefile. Addtionally, no actual BSP uses this
cpu-variant subdirectory. Furthermore libcpu/powerpc/mpc6xx has a
different directory layout than all other powerpc/<variant>/
directories.
Joel's note: I agree but the issue is that there is a conflict between
including timer or clock in libcpu/XXX/wrapup/Makefile.* and letting
a BSP specifically decide to pick it up. There is no clear solution
to this at the moment.
|
|
|
|
| |
and reported by Ralf Corsepius <corsepiu@faw.uni-ulm.de> on the mpc505.
|
|
|
|
| |
to automake by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which adds partial automake support to libcpu/<cpu>/*.
Until now I have only implemented full automake support for the sh (my
demonstration example :) and the i386 (inevitiable for structural
reasons of this subdirectory). For all other cpus only their toplevel
directories (exception: powerpc), include subdirectories and a few
selected subdirectories have been converted to automake.
I did this on purpose, because add automake support to each subdirectory
requires individual adaptations which to be tested individually.
Additionally the weirdnesses of the powerpc subdirectories hit again,
esp. some powerpc cpu-models
* install files to $(PROJECT_INCLUDE)/<cpu-model>/ while others install
them to $(PROJECT_INCLUDE)/
* the scheme used to configure libcpu/powerpc/ is difficult to implement
using automake, therefore this subdirectory still is configured by
autoconf (The one out of an unlimited set selection scheme hits again
:), though powerpc/*/* subdirectories already apply automake.
The patch also reveils structural weaknesses in RTEMS:
E.g. There seem to exist at least 5 different general schemes:
* Not using libcpu at all (eg. i960)
* Strictly tree-style a libcpu/<cpu-variant>/* (eg. m68k, sh)
* Flat libcpu directory layout with cpu-variants merged into sources or
not destinguishing cpu-variants (i386)
* Not supporting variants with deep source tree (sparc, hppa, mips64orion)
* Woven directory structure with shared directories (powerpc)
I regret having to say this, but from my POV this means, that there
doesn't exist a general implementation scheme for libcpu at all.
To apply:
rm -rf ./c/src/lib/libcpu/i386/wrapup
rm -rf ./c/src/lib/libcpu/mips64orion/include
rm -rf ./c/src/lib/libcpu/powerpc/ppc403/include
patch -p1 < rtems-rc-19991203-7.diff
./bootstrap
|
|
|
|
|
| |
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.. a major configuration cleanup
... major enhancement of automake support.
... and it contains a *major* breakthough:
Automake support for libchip and libmisc *LEAF* directories.
To implement this I have used several nasty tricks
* The basical trick is to wrap an old Makefile.in's contents into a
Makefile.am and still continue to use (i.e include) the old
*.cfg files.
* Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
dependencies
* Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
automake and RTEMS make rules
* Replaced each install:: and preinstall:: rule with make dependencies
* Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
convention)
* Removed each manually added autoconf substitution which automake
performs automatically.
This is not yet full automake support, because using the temporary
installation directory, preinstallation in general and building variants
are in contradiction to automake's basic working principles ...
... the new Makefile.ams work still somewhat clumsy
... nevertheless they work (quite well).
WARNING:
At first glance this patch is small, but
* it affects the whole configuration system.
* it opens the road to introducing automake to all Makefile.ins
currently not being under automake control.
JOEL> Does this remove or add any files?
Both, all Makefile.ins below libchip and libmisc get replaced with
Makefile.ams.
|
|
|
|
|
|
|
|
|
|
|
| |
particular, using bsp.h, or getting information from the BSP which
should properly be obtained from RTEMS is forbidden. This is
necessary to strengthen the division between the BSP independent
parts of RTEMS and the BSPs themselves. This started after
comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The changes primarily eliminated the need to include bsp.h and
peeking at BSP_Configuration. The use of Cpu_table in each
BSP needs to be eliminated.
|
|
|
|
|
| |
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch below actually consists of 3 patches:
1. Addition of maintainer-mode dependencies on config.status and
aclocal.m4 for autoconf toplevel Makefile.ins. These rules are taken
over from automake generated Makefile.ins, i.e. they are contained in
any automake generated toplevel Makefile.in. Having this patch in is
at least a great releaf for me when working on RTEMS configuration :)
2. Automated support for #1 in acpolish
3. Some minor "beautifications" on Makefile.ins resulting from
running acpolish.
FYI: This patch has been generated by running
tools/update/rtems-polish.sh -ac on the source tree and manually editing
the resulting patch afterwards to work around a problem with acpolish,
which still corrupts one Makefile.in - WARNING: Be careful with running
acpolish!
I expect this patch not to have any influence on normal users, unless
they use --enable-maintainer-mode, thus merging it should be rather
harmless.
|
|
against 3.6.0 so was painful to merge. It should be OK but there
is no guarantee and there are no BSPs in the tree to exercise it.
|