Age | Commit message (Collapse) | Author |
|
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.
|
|
Update #3132.
|
|
Update #3122.
|
|
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.
|
|
|
|
|
|
|
|
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
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.
|
|
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
* libmisc/serdbg/serdbgcnf.h:
Remove conditional serdbg_init_dbg prototype.
|
|
* libmisc/serdbg/serdbg.h (putDebugChar, getDebugChar):
Remove duplicate decls.
|
|
|
|
* libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h:
Fixed incompatible return value.
* libmisc/cpuuse/cpuusagereport.c: Changed output format.
* libmisc/Makefile.am, libmisc/monitor/mon-editor.c: New file.
* libmisc/capture/capture-cli.c, libmisc/monitor/mon-command.c,
libmisc/monitor/mon-monitor.c, libmisc/monitor/mon-object.c,
libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/monitor.h, libmisc/shell/cat_file.c,
libmisc/shell/cmds.c, libmisc/shell/internal.h,
libmisc/shell/main_help.c, libmisc/shell/shell.c,
libmisc/shell/shell.h, libmisc/shell/shell_cmdset.c,
libmisc/shell/shell_getchar.c, libmisc/shell/str2int.c: Various global
data is now read only. Added 'const' qualifier to many pointer
parameters. It is no longer possible to remove monitor commands.
Moved monitor line editor into a separate file to avoid unnecessary
dependencies.
|
|
|
|
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
warnings.
|
|
PR 677/misc
* libmisc/dumpbuf/dumpbuf.h, libmisc/fsmount/fsmount.h,
libmisc/rtmonuse/rtmonuse.h, libmisc/serdbg/serdbg.h,
libmisc/serdbg/serdbgcnf.h, libmisc/serdbg/termios_printk.h,
libmisc/serdbg/termios_printk_cnf.h, libmisc/untar/untar.h: Add
extern C wrappers.
|
|
|
|
|
|
* libmisc/serdbg/serdbgcnf.h: Include <rtems/serdbg.h> instead of
<serdbg.h>
* libmisc/serdbg/termios_printk_cnf.h: Include <rtems/termios_printk.h>
instead of <termios_printk.h>.
|
|
* libmisc/Makefile.am: Install serdbg.h, serdbgcnf.h,
termios_printk.h, termios_printk_cnf.h to $(includedir)/rtems.
* libmisc/serdbg/serdbg.c: Include <rtems/serdbg.h> instead of
<serdbg.h>.
* libmisc/serdbg/serdbgio.c: Include <rtems/serdbg.h> instead of
<serdbg.h>.
* libmisc/serdbg/termios_printk.c: Include <rtems/termios_printk.h>
instead of <termios_printk.h>.
|
|
* libmisc/capture/capture-cli.c, libmisc/capture/capture.c,
libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.c,
libmisc/devnull/devnull.c, libmisc/fsmount/fsmount.h,
libmisc/monitor/mon-config.c, libmisc/monitor/mon-dname.c,
libmisc/monitor/mon-driver.c, libmisc/monitor/mon-extension.c,
libmisc/monitor/mon-itask.c, libmisc/monitor/mon-monitor.c,
libmisc/monitor/mon-mpci.c, libmisc/monitor/mon-object.c,
libmisc/monitor/mon-prmisc.c, libmisc/monitor/mon-queue.c,
libmisc/monitor/mon-server.c, libmisc/monitor/mon-symbols.c,
libmisc/monitor/monitor.h, libmisc/monitor/symbols.h,
libmisc/mw-fb/mw_uid.c, libmisc/rtmonuse/rtmonuse.c,
libmisc/serdbg/serdbg.h, libmisc/serdbg/serdbgio.c,
libmisc/serdbg/termios_printk.c, libmisc/serdbg/termios_printk.h,
libmisc/shell/shell.c, libmisc/shell/shell.h, libmisc/stackchk/check.c,
libmisc/stackchk/internal.h: Convert to using c99 fixed size types.
|
|
|
|
* capture/Makefile.am: Remove.
* cpuuse/Makefile.am: Remove.
* devnull/Makefile.am: Remove.
* dummy/Makefile.am: Remove.
* dumpbuf/Makefile.am: Remove.
* fsmount/Makefile.am: Remove.
* monitor/Makefile.am: Remove.
* mw-fb/Makefile.am: Remove.
* rtmonuse/Makefile.am: Remove.
* serdbg/Makefile.am: Remove.
* shell/Makefile.am: Remove.
* stackchk/Makefile.am: Remove.
* untar/Makefile.am: Remove.
* Makefile.am: Merge-in the Makefile.ams above.
|
|
* capture/config.h: Remove.
* capture/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* cpuuse/config.h: Remove.
* cpuuse/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* devnull/config.h: Remove.
* devnull/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* dummy/config.h: Remove.
* dummy/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* dumpbuf/config.h: Remove.
* dumpbuf/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* monitor/config.h: Remove.
* monitor/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* mw-fb/config.h: Remove.
* mw-fb/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* rtmonuse/config.h: Remove.
* rtmonuse/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* serdbg/config.h: Remove.
* serdbg/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* shell/config.h: Remove.
* shell/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* stackchk/config.h: Remove.
* stackchk/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
* untar/config.h: Remove.
* untar/Makefile.am: Remove config.h.
AM_CPPFLAGS += -I$(top_builddir).
|
|
* cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c,
devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c,
dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h,
serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c,
stackchk/internal.h, stackchk/stackchk.h, untar/untar.c,
untar/untar.h: URL for license changed.
|
|
* configure.ac: Remove (Merged into ../configure.ac).
* Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
* capture/config.h: New.
* capture/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* cpuuse/config.h: New.
* cpuuse/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* devnull/config.h: New.
* devnull/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* dummy/config.h: New.
* dummy/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* dumpbuf/config.h: New.
* dumpbuf/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* monitor/config.h: New.
* monitor/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* mw-fb/config.h: New.
* mw-fb/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* rtmonuse/config.h: New.
* rtmonuse/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* serdbg/config.h: New.
* serdbg/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* shell/config.h: New.
* shell/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* stackchk/config.h: New.
* stackchk/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* untar/config.h: New.
* untar/Makefile.am: Add config.h.
Reflect having merged configure.ac into ../configure.ac.
* wrapup/Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
|
|
* capture/capture-cli.c: Add config-header support.
* capture/capture.c: Add config-header support.
* cpuuse/cpuuse.c: Add config-header support.
* devnull/devnull.c: Add config-header support.
* dummy/dummy.c: Add config-header support.
* dumpbuf/dumpbuf.c: Add config-header support.
* monitor/mon-command.c: Add config-header support.
* monitor/mon-config.c: Add config-header support.
* monitor/mon-dname.c: Add config-header support.
* monitor/mon-driver.c: Add config-header support.
* monitor/mon-extension.c: Add config-header support.
* monitor/mon-itask.c: Add config-header support.
* monitor/mon-manager.c: Add config-header support.
* monitor/mon-monitor.c: Add config-header support.
* monitor/mon-mpci.c: Add config-header support.
* monitor/mon-object.c: Add config-header support.
* monitor/mon-prmisc.c: Add config-header support.
* monitor/mon-queue.c: Add config-header support.
* monitor/mon-server.c: Add config-header support.
* monitor/mon-symbols.c: Add config-header support.
* monitor/mon-task.c: Add config-header support.
* mw-fb/mw_fb.c: Add config-header support.
* mw-fb/mw_uid.c: Add config-header support.
* rtmonuse/rtmonuse.c: Add config-header support.
* serdbg/serdbg.c: Add config-header support.
* serdbg/serdbgio.c: Add config-header support.
* serdbg/termios_printk.c: Add config-header support.
* shell/cmds.c: Add config-header support.
* stackchk/check.c: Add config-header support.
* untar/untar.c: Add config-header support.
|
|
* configure.ac: Add check for weak function attribute.
Remove AM_CONDITIONAL([RTEMS_LIBSHELL].
Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
* capture/Makefile.am: Use *.a instead of *-tmp.a.
* cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
* devnull/Makefile.am: Use *.a instead of *-tmp.a.
* dummy/Makefile.am: Use *.a instead of *-tmp.a.
* dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
* monitor/Makefile.am: Use *.a instead of *-tmp.a.
* mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
* rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
* serdbg/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSERDBG is true.
* shell/Makefile.am: Use *.a instead of *-tmp.a.
Build iff LIBSHELL is true.
* stackchk/Makefile.am: Use *.a instead of *-tmp.a.
* untar/Makefile.am: Use *.a instead of *-tmp.a.
* wrapup/Makefile.am: Reflect changes above.
|
|
* configure.ac: Require autoconf-2.57+automake-1.7.2.
* capture/Makefile.am: Eliminate C_O_FILES.
* cpuuse/Makefile.am: Ditto.
* devnull/Makefile.am: Ditto.
* dummy/Makefile.am: Ditto.
* dumpbuf/Makefile.am: Ditto.
* monitor/Makefile.am: Ditto.
* rtmonuse/Makefile.am: Ditto.
* serdbg/Makefile.am: Ditto.
* shell/Makefile.am: Ditto.
* stackchk/Makefile.am: Ditto.
* untar/Makefile.am: Ditto.
* mw-fb/Makefile.am: Eliminate C_O_FILES.
Eliminate SRCS.
|
|
Moving libmisc from rtems/c/src to rtems/cpukit.
* Makefile.am: Reflect new path.
* configure.ac: Reflect new path.
Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP.
Remove RTEMS_PROJECT_ROOT.
* capture/Makefile.am: Reflect new path.
Remove OBJS from all-local.
* cpuuse/Makefile.am: Ditto.
* devnull/Makefile.am: Ditto.
* dummy/Makefile.am: Ditto.
* dumpbuf/Makefile.am: Ditto.
* monitor/Makefile.am: Ditto.
* mw-fb/Makefile.am: Ditto.
* rtmonuse/Makefile.am: Ditto.
* serdbg/Makefile.am: Ditto.
* shell/Makefile.am: Ditto.
* stackchk/Makefile.am: Ditto.
* untar/Makefile.am: Ditto.
* wrapup/Makefile.am: Reflect new path.
|
|
* capture/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* cpuuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* devnull/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* dummy/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* dumpbuf/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* monitor/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* mw-fb/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* rtmonuse/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* serdbg/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* shell/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* stackchk/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* untar/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
|
* capture/Makefile.am: Remove AUTOMAKE_OPTIONS.
* serdbg/Makefile.am: Remove AUTOMAKE_OPTIONS.
* serdbg/serdbgio.c: Add #include <unistd.h>.
* shell/Makefile.am: Add RTEMS_LIBSHELL conditional.
* wrapup/Makefile.am: Add RTEMS_LIBSHELL conditional.
* configure.ac: Check for stdio assignments.
Add RTEMS_LIBSHELL conditional.
|
|
* capture/Makefile.am: Use .$(OBJEXT) instead of .o.
* cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o.
* devnull/Makefile.am: Use .$(OBJEXT) instead of .o.
* dummy/Makefile.am: Use .$(OBJEXT) instead of .o.
* dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o.
* monitor/Makefile.am: Use .$(OBJEXT) instead of .o.
* mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o.
* serdbg/Makefile.am: Use .$(OBJEXT) instead of .o.
* shell/Makefile.am: Use .$(OBJEXT) instead of .o.
* stackchk/Makefile.am: Use .$(OBJEXT) instead of .o.
* untar/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
* With the addition of serdbg, the standard polled I/O functions
for gdbstub and/or printk are optionally routed to any termios-aware
device driver, that supports polled mode. See libmisc/serdbg/README.
* serdbg/Makefile.am, serdbg/README, serdbg/serdbg.c, serdbg/serdbg.h,
serdbg/serdbgcnf.h, serdbg/serdbgio.c, serdbg/termios_printk.c,
serdbg/termios_printk.h, serdbg/termios_printk_cnf.h,
serdbg/.cvsignore: New files.
* configure.ac, Makefile.am, wrapup/Makefile.am: Modified to
reflect addition.
|