| Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Update #3375.
|
|
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 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.
|
|
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
|
|
|
* pppd/Makefile.am: Reflect moving out md*.
|
|
Add pppd/libmd.a.
|
|
|
|
|
|
|
|
* pppd/Makefile.am: Fix typo.
|
|
|
|
|
|
* libnetworking/pppd/Makefile.am: Use preinstall.am.
|
|
* libnetworking/pppd/Makefile.am: CPPFLAGS += -D__BSD_VISIBLE.
|
|
* 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.
|
|
* Makefile.am: Cosmetics.
* pppd/Makefile.am: Cosmetics.
* wrapup/Makefile.am: Cosmetics.
|
|
* 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.
|
|
* Nice Update of PPPD support which eliminates the
requiremetn that drivers be in the termios TASK_DRIVEN mode.
Mike did significant testing and reports that it seems to be
more stable and handle larger packets better. This patch
replaces the termios tasks with more general pppd network
driver tasks. The functions pppinput() and pppstart() get
called from the interrupt service routine.
* Makefile.am, configure.ac, net/Makefile.am, net/bpf.h,
net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h,
net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h,
net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h,
net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h,
net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c,
net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/cbcp.c, pppd/ccp.c, pppd/ccp.h,
pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h,
pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c,
pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h,
pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.8, pppd/pppd.h, pppd/rtemsmain.c,
pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c,
pppd/upap.h, pppd/utils.c, pppd/example/README,
pppd/example/netconfig.h, wrapup/Makefile.am: Modified.
* net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h,
net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file.
* modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c,
modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed.
|
|
* 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 ='.
|
|
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
application. Mike's notes on the modifications:
- renamed error() function because of namespace problems
- removed calls to the exit() funciton
- removed extra files from the pppd source directory
- defined pppd task constant values in rtemspppd.h
- modifyied example code to get actual tick per second value
- placed the pppd 2.3.11 man page file (pppd.8) into the pppd
directory
* pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c,
pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted.
* pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h,
pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile,
pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h,
pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h:
New files.
* modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README,
pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c,
pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c,
pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h,
pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c,
pppd/magic.h, pppd/options.c, pppd/patchlevel.h,
pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
|
|
* wrapup/Makefile.am: Added modem subdir.
* configure.in, Makefile.am: Added modem subdir.
* net/Makefile.am: Added if_pppvar.h, pppcompress.h.
* pppd/Makefile.am: Added pppmain.c (which needs work).
* pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c,
pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler
<Thomas.Doerfler@imd-systems.de> and cosmetic changes by me.
Actually main.c and ppp_tty.c should be scratched. The modem
subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
|
|
* kern/Makefile.am, lib/Makefile.am, libc/Makefile.am,
net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am,
pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am,
rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
|
|
|
|
that contains the automake files for libnetworking plus a couple of
minor fixes. [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]
To apply:
patch -p1 < rtems-rc-20000118-7.diff
/bin/sh rtems-rc-20000118-7.rm
/bin/sh rtems-rc-20000118-7.add
./bootstrap
Notes:
* I have tested this one by building all BSPs for m68k, powerpc, sh and
unix with toolchains built since last weekend.
* I did not touch libnetworking's directory layout.
|