summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shmdr (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-12-182003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius19-1451/+0
* shmdr/addlq.c, shmdr/cnvpkt.c, shmdr/dump.c, shmdr/fatal.c, shmdr/getlq.c, shmdr/getpkt.c, shmdr/init.c, shmdr/initlq.c, shmdr/intr.c, shmdr/mpci.h, shmdr/mpisr.c, shmdr/poll.c, shmdr/README, shmdr/receive.c, shmdr/retpkt.c, shmdr/send.c, shmdr/setckvec.c, shmdr/shm_driver.h: Remove (Moved to c/src/libchip/shmdr). 2003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bspstart.am: Use .$(OBJEXT) instead of .o. * Makefile.am: Remove shmdr. 2003-12-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Use $(mkdir_p) instead of $(mkinstalldirs). 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g. 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * bsp.am: Replace bsplibdir by project_libdir. Use mkdir_p instead of mkinstalldirs. Remove dirs from PRE/TMPINSTALL_FILES. 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Remove project_libdir. 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Misc. fixes. * bsp.am: Add project_libdir. 2003-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bspstart.am: New. 2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Merge-in shared/Makefile.am, shmdr/Makefile.am. * shared/Makefile.am: Remove. * shmdir/Makefile.am: Remove. * bsp.am: Add preinstallation dirstamp support. 2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: Remove all-local: $(ARCH). 2003-09-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Reworked. 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Reflect having moved automake/. * shmdr/Makefile.am: Reflect having moved automake/. 2003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: Reflect having merged configure.ac into ../../configure.ac. 2003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove (Merged into ../../configure.ac). * Makefile.am: Reflect having merged configure.ac into ../../configure.ac. 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove AC_CONFIG_AUX_DIR. 2003-02-14 Joel Sherrill <joel@OARcorp.com> AMD a29k port declared obsolete. * a29k/.cvsignore, a29k/ChangeLog, a29k/Makefile.am, a29k/acinclude.m4, a29k/configure.ac, a29k/portsw/.cvsignore, a29k/portsw/ChangeLog, a29k/portsw/Makefile.am, a29k/portsw/README, a29k/portsw/bsp_specs, a29k/portsw/configure.ac, a29k/portsw/times, a29k/portsw/console/.cvsignore, a29k/portsw/console/Makefile.am, a29k/portsw/console/concntl.h, a29k/portsw/console/console.c, a29k/portsw/console/serial.c, a29k/portsw/console/serial.h, a29k/portsw/include/.cvsignore, a29k/portsw/include/Makefile.am, a29k/portsw/include/bsp.h, a29k/portsw/start/.cvsignore, a29k/portsw/start/Makefile.am, a29k/portsw/start/amd.ah, a29k/portsw/start/pswmacro.ah, a29k/portsw/start/register.S, a29k/portsw/start/register.ah, a29k/portsw/start/start.S, a29k/portsw/startup/.cvsignore, a29k/portsw/startup/Makefile.am, a29k/portsw/startup/bspclean.c, a29k/portsw/startup/bspstart.c, a29k/portsw/startup/linkcmds, a29k/portsw/startup/main.c, a29k/portsw/startup/ramlink, a29k/portsw/startup/romlink, a29k/portsw/startup/setvec.c, a29k/portsw/wrapup/.cvsignore, a29k/portsw/wrapup/Makefile.am: Removed. 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: AC_PREREQ(2.57). 2003-02-03 Joel Sherrill <joel@OARcorp.com> * shmdr/Makefile.am: Add .h files to PREINSTALL_FILES not TMPINSTALL_FILES. 2003-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: install mpci.h and shm_driver.h. Eliminate OBJS. 2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: Don't include @RTEMS_BSP@.cfg. 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove RTEMS_CHECK_BSP_CACHE. 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache. 2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: Use .$(OBJEXT) instead of .o. 2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * include/Makefile.am: Remove. * include/.cvsignore: Remove. * include/rtems/Makefile.am: Remove. * include/rtems/.cvsignore: Remove. * include/rtems/score/Makefile.am: Remove. * include/rtems/score/.cvsignore: Remove. 2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove RTEMS_BSP_ALIAS. Add RTEMS_CHECK_BSP_CACHE. Replace $bspdir with $RTEMS_BSP_FAMILY. 2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Remove include/Makefile, include/rtems/Makefile, include/rtems/score/Makefile (Eliminate targopts.h). * Makefile.am: Remove include from SUBDIRS (Eliminate targopts.h) 2002-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Add bsplib_DATA = bsp_specs. 2002-06-25 Joel Sherrill <joel@OARcorp.com> * Thomas Doerfler <Thomas.Doerfler@imd-systems.de> added m68k support to the shared gdb stub glue thus adding a directory at the top shared level. * shared/gdbstub: New directory. * configure.ac: Modified to reflect above. 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/score/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * shmdr/Makefile.am: Remove AUTOMAKE_OPTIONS. 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Add line break, remove comment. 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate. 2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use @subdirs@ instead of RTEMS_LIBBSP_CPU_SUBDIR. * configure.in: AC_PREREQ(2.52), apply RTEMS_CPU_SUBDIRS, remove RTEMS_LIBBSP_CPU_SUBDIR. 2001-09-28 Joel Sherrill <joel@OARcorp.com> * shared/bootcard.c, shared/main.c: Now call int c_rtems_main() not main(). 2001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * shmdr/Makefile.am: Use 'PREINSTALL_FILES ='. 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use SUBDIRS = instead of SUBDIRS += to make automake-1.5 happy. * include/rtems/score/Makefile.am: Use CLEANFILES = to make automake-1.5 happy. * bsp.am: Use PREINSTALL_FILES = to make automake-1.5 happy. 2001-02-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * bsp.am: Fix automake version number in comment. 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization. 2000-09-25 Joel Sherrill <joel@OARcorp.com> * shmdr/shm_driver.h: Added _AM29K entry. May not be correct. 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * shmdr/Makefile.am: Include compile.am 2000-08-10 Joel Sherrill <joel@OARcorp.com> * ChangeLog: New file.
2003-12-032003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-53/+0
* Makefile.am: Merge-in shared/Makefile.am, shmdr/Makefile.am. * shared/Makefile.am: Remove. * shmdir/Makefile.am: Remove. * bsp.am: Add preinstallation dirstamp support.
2003-12-022003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
* shmdr/Makefile.am: Remove all-local: $(ARCH).
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill17-17/+17
* addlq.c, cnvpkt.c, dump.c, fatal.c, getlq.c, getpkt.c, init.c, initlq.c, intr.c, mpci.h, mpisr.c, poll.c, receive.c, retpkt.c, send.c, setckvec.c, shm_driver.h: URL for license changed.
2003-08-162003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+3
Makefile.am: Reflect having moved automake. shmdr/Makefile.am: Reflect having moved automake.
2003-08-082003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-3/+3
* shmdr/Makefile.am: Reflect having merged configure.ac into ../../configure.ac.
2003-02-032003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+2
* shmdr/Makefile.am: Add .h files to PREINSTALL_FILES not TMPINSTALL_FILES.
2003-01-282003-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-10/+9
* shmdr/Makefile.am: install mpci.h and shm_driver.h. Eliminate OBJS.
2003-01-152003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-4/+1
* shmdr/Makefile.am: Don't include @RTEMS_BSP@.cfg.
2002-08-112002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-1/+1
* shmdr/Makefile.am: Use .$(OBJEXT) instead of .o.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+0
* configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/score/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * shmdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
2001-09-272001-09-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* include/rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * shmdr/Makefile.am: Use 'PREINSTALL_FILES ='.
2000-09-252000-09-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+3
* shmdr/shm_driver.h: Added _AM29K entry. May not be correct.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+1
* shmdr/Makefile.am: Include compile.am
2000-06-12Merged from 4.5.0-beta3aJoel Sherrill1-2/+2
2000-04-13Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill1-0/+2
adds .cvsignore.
2000-02-01Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-79/+57
that contains: * The fix for the gen68360/network/Makefile.am * automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :). * automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus) NOTES: * This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet). * This patch is against rtem-cvs as of this morning (MET). To apply: patch -p1 <rtems-rc-20000118-5.diff cvs rm -f ./c/src/lib/libbsp/Makefile.in cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in cvs rm -f ./c/src/lib/libcpu/Makefile.in cvs add ./c/src/lib/libbsp/Makefile.am cvs add ./c/src/lib/libbsp/shmdr/Makefile.am cvs add ./c/src/lib/libcpu/Makefile.am ./bootstrap
1999-11-30Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.Joel Sherrill19-561/+20
Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).
1999-11-22Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-17Updated copyright notice.Joel Sherrill18-36/+18
1999-09-07Applied patch rtems-rc-19990820-6.diff.gz fromJoel Sherrill1-2/+4
Ralf Corsepius <corsepiu@faw.uni-ulm.de> which converted many Makefile.in's to Makefile.am's. This added a lot of files.
1999-07-26Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-1/+1
A bug in acpolish made it into rtems-rc-19990709-0.diff, which unfortunately affects all Makefile.ins: * The maintainer mode conditional was erroniously applied to the dependencies of "Makefile". In case you already checked in rtems-rc-19990709-0.diff to CVS you have to check in all Makefile.ins again after applying the patch below :). Please apply the patch below as follows: patch -p1 < rtems-rc-19990709-1.diff tools/update/rtems-polish.sh -ac Note: There is no need to rerun your tests if you have used --enable-maintainer-mode to configure RTEMS, because this patch converts all Makefile.ins to the same settings as used for --enable-maintainer-mode.
1999-07-26This is part of a major patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-25/+31
to move RTEMS more to automake/autoconf and GNU compliance. Finally, here they are: the "big-patch" patches - merged into one big patch (~1.5MB). Sorry for the delay, but testing took much more time than I had expected - esp. reworking the acpolish script triggered many more tiny issues than I had expected (cf. below). At least, now you've got something to spend your weekend with :-. WARNINGS: * I've gone a little (??) further than I had announced before. * Several directories have been moved. * Several files have been added and removed * I have tested it with many BSPs/CPUs and a variety of permutiations of configuration flags, but not with all. * Most parts of the patch are automatically generated, however there are many tiny manual modifications. APPLYING THE PATCH: ./autogen -c mkdir tools mv c/src/exec/score/tools tools/cpu mv c/build-tools tools/build mv c/update-tools tools/update patch -p1 -E < rtems-rc-19990709-0.diff ./autogen If the patch doesn't apply to rtems-cvs, I would suggest that you should try to apply it brute-force and then to run tools/update/rtems-polish.sh -ac -am afterwards. A recursive diff between rtems-19990709 + patch and rtems-cvs + patch then should report only a few dozen significant changes to configuration files which need to be merged manually (IIRC, I did not change any source files). *** Attention: There are files to be removed, moved, copied and added in/to CVS! NEWS/CHANGES: 1. Configuration takes place in 3 stages: 1. per host (toplevel configure script), 2. per target (c/configure), 3. per bsp c/src/configure automatically triggered from ./configure and c/Makefile.am. 2. Building of subdirectory c/ takes place in c/$(target_alias) for cross-targets in c/ for native targets 3. Building of subdirectory c/src takes place in c/${target_alias}/<bsp> for cross-targets, c/<bsp> for native targets 4. c/build-tools moved to tools/build 5. c/src/exec/score/cpu/tools moved to tools/cpu (=cpu-tools split out) 6. c/update-tools moved to tools/update 7. New subdirectory c/src/make, handles files from make/ on a per BSP basis 8. Maintainer mode support: Ie. if configuring with --enable-maintainer-mode disabled (the default), then tracking of many dependencies will be disabled in Makefiles. Esp. many dependencies for auto* generated files will be switched off in Makefiles. Ie. if not using "--enable-maintainer-mode" many auto* generated files will not be updated automatically, i.e. normal users should not be required to have auto* tools anymore (untested). 9. Independent configuration scripts for / (toplevel), tools/build, tools/cpu, tools/update, c/, c/src/, c/src/exec, c/src/lib, c/src/tests, c/src/make 10. Automake support for all directories above and besides c/src 11. "preinstall" now is implemented as depth-first recursive make target 12. host compiled tools (exception bsp-tools) are accessed in location in the build tree instead of inside the build-tree when building RTEMS. 13. RTEMS_ROOT and PROJECT_ROOT now point to directories inside the build-tree - many tiny changes as consequence from this. 14. --with-cross-host support removed (offically announced obsolete by cygnus) 15. Changing the order of building libraries below c/src/lib/ 16. Former toplevel configure script broken into aclocal/*.m4 macros 17. Newlib now detected by configure macros, RTEMS_HAS_NEWLIB removed from *cfg. 18. sptables.h now generated by autoconf 19. Rules for "mkinstalldirs temporary installation tree" moved from c/Makefile to subdirectories. 20. Cpu-tools do not get installed. 21. FIX: Use ACLOCAL_AMFLAGS instead of ACLOCAL = -I ... in Makefile.ams which are in directories with own configure scripts. 22. Hardcoding BSP names into libbsp/.../tools to avoid RTEMS_BSP get overridden from the environment. 22. FIX: Handling of MP_PIECES in various Makefiles 23. FIX: Removing "::" rules from some Makefile.ins 24. FIX: File permission chaos: (-m 444 and -m 555 vs. -m 644 and -m 755) - Now all include files use -m 644. 25. Removed many gnumake-conditionals in Makefile.ins - Partially replaced with automake-conditional, partially replaced with conditionalized Makefile variables (... _yes_V) 26. Massively reworked acpolish: acpolish now parses Makefile.ins and interprets parts of the Makefile.ins. 27. FIX: Some $(wildcard $(srcdir)/*.h) macros removed / replaced with explicit lists of files in Makefile.ins. 28. FIX: Replacing MKLIB with RANLIB in Makefile.ins 29. HACK: Add preinstallation for pc386 specific $(PROJECT_RELEASE)/BootImgs directory ... many more details, I can't recall KNOWN BUGS: 1. make [debug|profile]_install do not do what they are promissing. "make [debug|profile] install" does what "make [debug|profile]_install" has been doing. Proposal: remove [debug|profile]_install 2. Dependencies between temporary installation tree and source tree are not yet handled correctly. 3. Dependencies between temporary installation tree and source tree are handled ineffencently (Using INSTALL_CHANGE instead of make dependencies) 4. RTEMS_ROOT, PROJECT_ROOT, top_builddir, RTEMS_TOPdir now are redundant. 5. The new configure scripts still are in their infancy. They contain redundant checks and might still contain bugs, too. 6. RTEMS autoconf Makefile.ins use a mixture of configuration information gathered in c/$(target_alias)/<bsp>/make and of information collected from their configure scripts. 7. make dist is not fully functional 8. Subdirectory host-/build-/target- configure options (--target, --host, --build) do not conform to Cygnus/GNU conventions. 9. Some RTEMS autoconf Makefile.in's makefile targets are not supported in automake Makefile.ams/ins (e.g. get, clobber). 10. Some automake standard targets are not propagated from toplevel and c/Makefile.am to autoconf subdirectories (eg. make dist). 11. rpcgen generated files are not part of the source-tree (Automake conventions favor supplying generated files inside the source-tree, however there is no support for rpcgen generated files in automake, cf. yacc/lex support in automake). 12. RTEMS_HAS_RDBG handling is flaky. make/*.cfg use RTEMS_HAS_RDBG per CPU, while librdb's sources can only be built per BSP. Raises the more general question whether librdbg located correctly in the source-tree. 13. All make/*cfg files are configured per cpu, currently there is no location to store per-bsp configuration information --> bsp.cfg, per aconfig.h? 14. "make install" without having run "make all" beforehand does not work. 15. handling of --enable-multiprocessing seems to be broken in make/custom/* 16. Makefile.ins still exploit many gmake features. 17. File permisson chaos on libraries (no explict -m for libraries/rels/etc). 18. mcp750 Makefiles are broken (Note: I *do* mean buggy - I am not talking about "not-conforming to conventions", here :-). 19. Dependencies between configure scripts are not handled, eg. aborting "make RTEMS_BSP=<bsp>" can leave the build-tree in an unusable state. 20. "make clean" does not delete <build-tree>/<bsp>. This is intentional for now, because rerunning "make" after "make clean" requires an explicit "make preinstall" afterwards now. This should be done automatically, but doesn't work in this case for now. To work around this problem <build-tree>/<bsp> is kept during "make clean" for now (HACK). TODO: 1. split out host-compiled bsp-tools 2. Use Cygnus/GNU standards for cross-compiling target-subdir (CC=CC_FOR_TARGET .. configure --host=${target_alias} --build=`config.guess'}), to be added to toplevel configure script after splitting out bsp-tools. 3. Exploit per cpu support directory (c/src/<cpu>)- Splitting out per-cpu libraries - Are there any? 4. Further automake support 5. Converting subdirectories into standalone / self-contained subdirectories (Esp. moving their headers to the same common root as their sources, eg. mv lib/include/rtems++ lib/librtems++/include/rtems++) - This is the main obstacle which prevents moving further towards automake. 6. Propagating values from *.cfg into Makefiles instead of propagating them at make time via Makefile-fragments (i.e. try to avoid using *.cfg). 7. Testing on cygwin host (I *do* expect cygwin specific problems). 8. The ARCH in o-$(ARCH)-$(VARIANT) build-subdirectories is not needed anymore. GENERAL ISSUES: 1. Temporary installation tree -- Ian and I seem to disagree basically. Though I think that I understand his argumentation, I do not share it. IMO, his way of using the buildtree is mis-using the build-tree, relying on an inofficial feature of RTEMS's current implementation, which doesn't even work correctly in the current build-tree, though it attempts hard to do so. From my very POV, it unnecessarily complicates the structures of the source- and build-trees. It is not supported by automake (No automatic generation for the necessary rules) and complicates the transition to automake significantly (Generating the rules with an enhanced version of acpolish could be possible). As Ian correctly pointed out, here a management decision is needed - though I don't see the need to draw this decision in short terms. 2. preinstallation generally is a sure means to spoil the structure of the source tree, IMHO (No ranting intended, I am completly serious about this one). eg. through tree dependencies. The worst problem related to this I have found in the meantime is bsp_specs. bsp_specs is part of libbsp, ie. there is *no* way to build *any* part of the source tree *without* having a BSP *preinstalled*. Note: This issue is related to issue 1., but is not identical - The difference is the change of the order make rules have to be triggered. While preinstallation triggers rules spread all over the source tree before a "make all" can be run, a temporary installation tree could also be installed by post "make all" hooks (all-local:, to be run after make all in a directory is completed) if the directories' dependencies would be a tree, 3. Stuctural dependencies between subdirectories. 4. Depth of the source tree (Prevents multilibbing and introduces many unnecessary configure scripts). 5. per cpu vs. per bsp configuration (There are no real per-cpu parts yets :-). 6. automake does not support $makefiles in AC_OUTPUT. Unlike before, we now should try to avoid RTEMS_CHECK_MAKEFILE and to hard-code as much paths to Makefiles as possible. 7. General redesign of the source tree 8. Main installation point - Changing it to ${prefix}/${target_alias}. ? Besides item 8. (which is a must, IMHO), as far as I see most of them can not be solved soon and will remain issues in the mid- to long-term :-. REMARKS: * You (as the maintainer) should always use --enable-maintainer-mode when building RTEMS to ensure that maintainer mode generated files (esp. those in c/src/make) will be updated when make/* files have changed. * Use @RTEMS_BSP@ in Makefile.ins and Makefile.ams below c/src/, $(RTEMS_BSP) or ${RTEMS_BSP} will be overridden from environment variables when using make RTEMS_BSP="....". * c/src/make is a temporary cludge until configuration issues are solved. At the moment it is configured per bsp, but contains per-target/cpu info only. Its main purpose now is to circumvent modifying make/*.cfg files, because I consider make/* to be frozen for backward compatibilty. * This patch should only affect configuration files. At least I do not remember having touched any source files. * To build the bare bsp you now need to mention it in --enable-rtemsbsp. Example: building gensh1 and sh1/bare simultaneously: ../rtems-rc-19990709-1/configure --target=sh-rtems \ --enable-rtemsbsp="bare gensh1" \ --prefix=/tmp/rtems \ --enable-bare-cpu-cflags='-DMHZ=20 -m1 -DCPU_CONSOLE_DEVNAME=\"/dev/null\"' \ --enable-bare-cpu-model=sh7032 \ --enable-maintainer-mode \ --enable-cxx make make install * The next steps in development would be to split out bsp-tools and then to change to Cygnus/GNU canonicalization conventions for building the c/ subdirectory afterwards (i.e. many standard AC_*.m4 macros could be used instead of customized versions) FINAL REMARK: The issues mentioned in the lists above sound much worser than the situation actually is. Most of them are not specific to this patch, but are also valid for the snapshot. I just wrote down what I came across when working on the patch over the last few weeks. I wouldn't be too surprised if you don't like the patch at the current point in development. I am willing to discuss details and problems, I also have no problem if you would post-pone applying this patch to times after 4.1, but rejecting it as a whole for all times would be a false management decision, IMHO. Therefore I would suggest that you, if your time constaints allow it, should at least play a little while with this patch to understand what is going on and before drawing a decision on how to handle this proposal. I know this patch is neither perfect nor complete, but I consider it to be a major breakthrough. Don't be anxious because of the size of the patch, the core of the patch is rather small, the size is mainly the side effect of some systematic cleanups inside the Makefiles (result of acpolish). Feel free to ask if you encounter problems, if you don't understand something or if you meet bugs - I am far from being perfect and am prepared to answer them. Ralf. -- Ralf Corsepius Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW) Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690 mailto:corsepiu@faw.uni-ulm.de FAX: +49/731/501-999 http://www.faw.uni-ulm.de
1999-04-19Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-1/+1
This one is an enhancement to acpolish. It replaces some Makefile variables by others variable in Makefile.ins (tries to use unique name for some variables). It therefore eases parsing Makefile.ins for further automatic Makefile.in conversions in future. To apply: cd <rtems-source-tree> sh <path-to>/rtems-rc-19990407-8.sh ./autogen
1999-03-19Towards automake XI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-3/+12
This patch is the most scary of all proposals I've been mailing to you this week until now. It consists of 3 parts: 1. a patch 2. a perl script (acpolish) 3. a shell script wrapper to invoke the perl-script. The perl-script reads in each Makefile.in and modifies them ("polishes/beautifies" them :-). These modifications are not easy to describe: Basically, it hard-codes some automake Makefile-variables and rules into RTEMS autoconf-Makefile.ins (Note: autoconf vs. automake!!) and converts some settings/variables to configure scripts' requirements (Yes, plural). E.g. it adds the automake standard variables $top_builddir and $subdir, adds dependency rules for automatic re-generation of Makefiles from Makefile.in, adds support variables for relative paths to multiple configure scripts etc. The patch is a one-line patch to enable the support of the new features added by acpolish. The shell script is a wrapper which pokes around inside of the source tree for Makefile.ins and invokes acpolish on all autoconf-Makefile.ins. acpolish is designed to be able to run several times on the same Makefile.in and may once become a more general tool to convert RTEMS Makefile.in to automake. Therefore, I'd like to keep it inside of source tree. (e.g. as contrib/acpolish or c/update-tools/acpolish). However, it doesn't make sense to export it outside of RTEMS. To apply this: cd <source-tree> patch -p1 -E < <path-to-patch>/rtems-rc-19990318-1.diff tar xzvf <path-to>/rtems-rc-polish.tar.gz ./rtems-polish.sh ./autogen Note: The path contrib/acpolish is hard-coded into rtems-polish.sh, if you decide to put it in an alternative place, please modify rtems-polish.sh to reflect this change. Later: cvs rm make/rtems.cfg (It isn't used anymore) cvs add contrib cvs add contrib/acpolish cvs commit I've tested this intensively, but naturally I can't exclude bugs. Ralf. PS.: Most probably, this is the last "Towards automake" patch. The next one probably will be a real automake patch.
1999-02-18Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1-1/+3
> 5) rtems-rc-19990202-1.diff/reorg-install.sh > > reorg-install.sh fixes a Makefile variable name clash of RTEMS > configuration files and automake/autoconf standards. > Until now, RTEMS used $(INSTALL) for install-if-change. Automake and > autoconf use $(INSTALL) for a bsd-compatible install. As > install-if-change and bsd-install are not compatible, I renamed all > references to install-if-changed to $(INSTALL_CHANGED) and used > $(INSTALL) for bsd-install (==automake/autoconf standard). When > automake will be introduced install-if-change will probably be replaced > by $(INSTALL) and therefore will slowly vanish. For the moment, this > patch fixes a very nasty problem which prevents adding any automake file > until now (There are still more).
1998-03-24Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill2-14/+14
the CPU family name constants.
1998-02-17updated copyright to 1998Joel Sherrill18-18/+18
1998-01-30Big patch form Ralf Corsepius described in this email:Joel Sherrill1-4/+2
Here is the result of my nightly work to get RTEMS_ROOT=$srcdir working with different shells and relative/absolute paths. What I did is relatively simple in principle: Instead of setting RTEMS_ROOT in configure.in and then let configure substitute @RTEMS_ROOT@ inside the Makefiles, I now let each Makefile set RTEMS_ROOT from each Makefile's @top_srcdir@ value. The difference is subtile, but with enormous side effects: - If RTEMS_ROOT is set in configure, then the same single value will be propagated to all Makefiles. This breaks using relative paths, as the relative path to the root of the source tree is used inside of all subdirectory Makefiles. - Now each Makefile.in sets RTEMS_ROOT = @top_srcdir@. top_srcdir is computed individually by configure for each single Makefile.in, hereby receiving the correct value, no matter if relative or absolute paths are used. To get this working, I needed to remove setting RTEMS_ROOT from target.cfg.in, because this overrides the value of RTEMS_ROOT from each individual Makefile. Furthermore, I removed RTEMS_CUSTOM from the Makefiles and replaced all "include $(RTEMS_CUSTOM)" directives with"include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP)". Perhaps you don't like this, but I think, to have one variable less is clearer and easier to understand than having several variables refering to the next one. I enclose a small patch to this mail, which - fixes the config.h problem (to finally clearify misunderstands) - removes assignment/subsitution of RTEMS_ROOT from configure.in - contains a workaround for the application Makefile's RTEMS_ROOT problem (reported by Eric) - removes some unused lines from the toplevel Makefile.in - removes assignment of RTEMS_ROOT from make/target.cfg.in
1998-01-20Removed CONFIG_DIR and PROJECT_HOME directories.Joel Sherrill1-1/+1
1997-12-10Modified a lot of files to take a first cut at supporting building fromJoel Sherrill1-1/+4
any directory in the build tree. The only variable which must be set before the command "gmake" is invoked is RTEMS_BSP (e.g. RTEMS_BSP=erc32).
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill18-36/+36
1997-10-08Removed include directory at "build" point and the link of this directoryJoel Sherrill1-1/+1
to lib/include. Went to using a PROJECT_INCLUDE variable.
1997-08-27Modified to support the BSP family concept.Joel Sherrill1-1/+1
1997-08-04First attempt at values for PPCJoel Sherrill2-0/+6
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill18-90/+90
of switching to the modified GNU GPL.
1997-04-01This set of changes is the build of what was required to convert toJoel Sherrill1-0/+59
GNU autoconf. This is the first large step in allowing an RTEMS user to perform a one-tree build (per crossgcc FAQ) including RTEMS in the build process. With this change RTEMS is configured in built in the same style as the GNU tools, yet retains the basic structure of its traditional Makefiles (ala Tony Bennett). Jiri Gaisler (jgais@wd.estec.esa.nl) deserves (and received) a big thank you for doing this. There are still issues to be resolved but as of this commit, all target which can be built on a linux host have been using a modified version of the source Jiri submitted. This source was merged and most targets built in the tree before this commit. There are some issues which remain to be resolved but they are primarily related to host OS dependencies, script issues, the use of gawk for hack_specs, and the dependence on gcc snapshots. These will be resolved.
1996-09-08added mips64orion entries for SHM_LOCK_VALUE and SHM_UNLOCK_VALUEJoel Sherrill2-0/+10
1996-05-23added code to insure that delay is always non-zeroJoel Sherrill1-0/+2
1996-04-22Fixed so now supports more than 16 nodes. Tested for up to 24 nodesJoel Sherrill3-2/+11
by Tony Bennett. Information table is now malloc'ed.
1996-01-15updates from Tony Bennett for PA and UNIX portsJoel Sherrill3-11/+3
1995-09-29all targets compile .. tony's patches in placeJoel Sherrill5-4/+15
1995-09-27Modified UNIX simulator port so all references to native unixJoel Sherrill1-0/+1
stuff is in the executive source proper in the file cpu.c. This should help avoid conflicts between RTEMS POSIX files and UNIX files.
1995-09-26posix support initially addedJoel Sherrill1-1/+1
1995-09-22moving files around and adding the exec/wrapup directoryJoel Sherrill1-1/+1
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill4-19/+9
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-23Support for variable length names added to Object Handler. This supportsJoel Sherrill2-2/+2
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
1995-08-17Numerous miscellaneous features incorporated from Tony BennettJoel Sherrill4-13/+26
(tbennett@divnc.com) including the following major additions: + variable length messages + named devices + debug monitor + association tables/variables
1995-08-11minor clean up -- switched to memset for zero'ing SHMJoel Sherrill5-92/+81
1995-05-24Fully tested on all in-house targetsJoel Sherrill3-15/+22