| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Add support for libbsd initialization.
Update #3419.
|
|
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
|
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.
|
|
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.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
PR 1985/cpukit
* telnetd/Makefile.am: Remove icmds.c.
|
|
PR 1262/filesystem
* libcsupport/Makefile.am, libnetworking/libc/herror.c,
libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
writev() including documentation and test case.
* libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
|
|
|
|
|
|
|
|
* telnetd/Makefile.am: Only build if LIBSHELL is available.
|
|
|
|
|
|
|
|
* libchip/Makefile.am, libnetworking/pppd/Makefile.am,
libnetworking/rtems_servers/Makefile.am,
libnetworking/rtems_telnetd/Makefile.am,
librdbg/Makefile.am, optman/Makefile.am, support/Makefile.am:
Eliminate CFLAGS_OPTIMIZE_V.
|
|
* libnetworking/pppd/Makefile.am,
libnetworking/rtems_servers/Makefile.am,
libnetworking/rtems_telnetd/Makefile.am:
Remove build-variant support.
|
|
* libnetworking/pppd/Makefile.am,
libnetworking/rtems_servers/Makefile.am,
libnetworking/rtems_telnetd/Makefile.am,
libnetworking/rtems_webserver/Makefile.am, optman/Makefile.am,
support/Makefile.am: Don't include lib.am.
|
|
* libnetworking/rtems_webserver/Makefile.am: Add PREINSTALL_DIRS.
* libnetworking/rtems_telnetd/Makefile.am: Add PREINSTALL_DIRS.
* libnetworking/rtems_servers/Makefile.am: Add PREINSTALL_DIRS.
* libnetworking/pppd/Makefile.am: Add PREINSTALL_DIRS.
|
|
* Makefile.am: Remove wrapup.
* pppd/Makefile.am: Build libpppd.
Use automake-compilation rules.
* rtems_servers/Makefile.am: Build libftpd.
Use automake-compilation rules.
* rtems_telnetd/Makefile.am: Build libtelnetd.
Use automake-compilation rules.
* rtems_webserver/Makefile.am: Build libhttpd.
Use automake-compilation rules.
* wrapup/Makefile.am: Remove (Unused).
|
|
* pppd/Makefile.am: Re-add dirstamps to PRE/TMPINSTALL_FILES.
Add PRE/TMPINSTALL_FILES to CLEANFILES.
* rtems_servers/Makefile.am: Ditto.
* rtems_telnetd/Makefile.am: Ditto.
* rtems_webserver/Makefile.am: Ditto.
|
|
* pppd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* rtems_servers/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* rtems_telnetd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
* rtems_webserver/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
* pppd/Makefile.am: Remove all-local: $(ARCH).
* rtems_servers/Makefile.am: Remove all-local: $(ARCH).
* rtems_telnetd/Makefile.am: Remove all-local: $(ARCH).
* rtems_webserver/Makefile.am: Remove all-local: $(ARCH).
* wrapup/Makefile.am: Remove all-local: $(ARCH).
|
|
* Makefile.am: Reformat. Apply dirstamps to preinstallation.
* pppd/Makefile.am: Ditto.
* rtems_servers/Makefile.am: Ditto.
* rtems_telnetd/Makefile.am: Ditto.
* rtems_webserver/Makefile.am: Ditto.
* wrapup/Makefile.am: Ditto.
|
|
Makefile.am: Reflect having moved automake.
pppd/Makefile.am: Reflect having moved automake.
rtems_servers/Makefile.am: Reflect having moved automake.
rtems_telnetd/Makefile.am: Reflect having moved automake.
rtems_webserver/Makefile.am: Reflect having moved automake.
wrapup/Makefile.am: Reflect having moved automake.
|
|
* configure.ac: Remove (Merged into ../configure.ac).
* .cvsignore, Makefile.am, pppd/Makefile.am,
rtems_servers/Makefile.am, rtems_telnetd/Makefile.am,
rtems_webserver/Makefile.am, wrapup/Makefile.am:
Reflect having merged configure.ac into ../configure.ac
|
|
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
* pppd/Makefile.am: Don't include @RTEMS_BSP@.cfg.
Eliminate *_O_FILES.
* rtems_servers/Makefile.am: Ditto.
* rtems_webserver/Makefile.am: Ditto.
* rtems_telnetd/Makefile.am: Ditto.
|
|
* pppd/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_servers/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_telnetd/Makefile.am: Use .$(OBJEXT) instead of .o.
* rtems_webserver/Makefile.am: Use .$(OBJEXT) instead of .o.
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
* kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
* machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
* net/Makefile.am: Remove AUTOMAKE_OPTIONS.
* netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
* nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
* pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
* rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
* sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
* vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
* machine/Makefile.am: Use 'PREINSTALL_FILES ='.
* net/Makefile.am: Use 'PREINSTALL_FILES ='.
* netinet/Makefile.am: Use 'PREINSTALL_FILES ='.
* vm/Makefile.am: Use 'PREINSTALL_FILES ='.
* pppd/Makefile.am: Use 'PREINSTALL_FILES ='.
* sys/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='.
* arpa/Makefile.am: Use 'PREINSTALL_FILES ='.
* nfs/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
* Makefile.am, configure.in, rtems_servers/Makefile.am,
rtems_servers/telnetd.c, rtems_servers/telnetd.h,
rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c,
rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c,
rtems_telnetd/telnetd.h, wrapup/Makefile.am:
- pty and telnetd have a new subdir rtems_telnetd to avoid
the side effect when ftpd change.
- the tcp/ip stats have been implemented into icmds.c and
started when telnetd daemon is started.
* rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed.
* rtems_telnetd: New directory.
* rtems_telnetd/Makefile.am, rtems_telnetd/README,
rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h,
rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
|
|
* untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am,
devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am,
stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|
|
* cpuuse/Makefile.am, dummy/Makefile.am, dumpbuf/Makefile.am,
monitor/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am,
untar/Makefile.am, wrapup/Makefile.am, mw-fb/Makefile.am:
Include compile.am.
|
|
|
|
that contains:
* Removes remaining (now illegal) references to $(SRC) from a couple of
Makefile.ams
* Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in
* Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR
from most configure scripts, i.e. LIBCDIR becomes less visible)
* Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to
libbsp/*/configure.ins (A minor bug in previous implementations, which
only has an impact when switching to GNU/Cygnus canonicalization)
* Cleans up several bogus comments.
* Removes MKLIB
* Switches the version number to 4.5.0 (for testing version number
handling)
|
|
to convert the libmisc directory from Makefile.in to Makefile.am.
|
|
.. 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.
|