Commit Graph

2835 Commits

Author SHA1 Message Date
Joel Sherrill
1972b1e760 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:46:02 +00:00
Joel Sherrill
76561407a5 Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
    score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
    bugs.


    To apply:

        rm -rf c/src/exec/score/cpu/a29k/wrap
        rm -rf c/src/exec/score/cpu/hppa1.1/wrap
        rm -rf c/src/exec/score/cpu/i386/wrap
        rm -rf c/src/exec/score/cpu/mips64orion/wrap
        rm -rf c/src/exec/score/cpu/no_cpu/wrap
        patch -p1 < rtems-rc-19991123-rc-2.diff.gz

    Notes:

    * I don't see a possiblity to convert the powerpc subdirectory in its
      current layout to automake the time being.

    * Besides the fact that this subdirectory is not in single-tree building
      layout, the actual showstopper is the ifeq $(RTEMS_CPU_MODEL),mpc750)
      gmake-conditional in powerpc/Makefile.in, which automake (correctly)
      refuses to handle.

    * The problem is *not* specific to the powerpc. Other CPUs basically
      have similar problems (SH:sh7032 vs sh7045, SPARC: erc32.h in
      score/cpu/sparc), but have been lucky to get around real issues (cf.
      configuration files below score/cpu/sh/).

    * From a configuration focused POV this problem boils down to a
      file/subdirectory selection problem:
         ppc: 1 or others
         sh: 1 out of 2
         sparc: 1 out of 1
      Automake's means to implement such behavior is using conditionals to be
      evaluated at configuration-time. The old configuration scheme however
      used make-time conditionals. The SH port was lucky to get around this
      issue because it applies a selection from a limited set of possible
      selections, the powerpc however applies a selection from an unlimited
      set, based on data not being available at configuration time.

    * Currently I only see two general solutions:
       1) make RTEMS_CPU_MODEL available at configuration time, ie. replace
          make-time configuration by configuration-time configuration
       2) Perform the selection at build-time, i.e. always install all files,
          but use #ifdef #else #endif in source files. This is what the m68k has
          exploited at other locations inside of the source-tree.

    => This directory is the last one remaining not using automake below the
       whole exec/ hierarchy.
1999-12-01 14:31:36 +00:00
Joel Sherrill
ccf8925b45 Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:22:12 +00:00
Joel Sherrill
4a3757f71d Patch rtems-rc-19991123-rc-1.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which implements automake support for some
score/cpu/<RTEMS_CPU> subdirectories and fixes a few minor configuration
bugs.

    To apply:

    rm -rf c/src/exec/score/cpu/i960/wrap
    rm -rf c/src/exec/score/cpu/m68k/wrap
    rm -rf c/src/exec/score/cpu/sh/wrap
    rm -rf c/src/exec/score/cpu/sparc/wrap
    rm -rf c/src/exec/score/cpu/unix/wrap
    patch -p1 < rtems-rc-19991123-rc-1.diff
    ./bootstrap

    Known bugs:

    * "make debug|profile" in c/src/src/score/cpu/<RTEMS_CPU/Makefile does
      not handle recursion to subdirectories correctly (recurses too often).
      However, this issue is hardly visible and should be tolerable for the
      moment.
1999-12-01 14:12:58 +00:00
Joel Sherrill
4288153455 Added missing files from PPP port. 1999-11-30 22:14:28 +00:00
Joel Sherrill
d0950adfd6 Added port of ppp-2.3.5 from Tomasz Domin <dot@comarch.pl> of ComArch SA.
Tomasz only tested this on the mpc823.

The official site for the original source for this PPP implementation is:

ftp://cs.anu.edu.au/pub/software/ppp

NOTE:  As of 11/30/1999, the current version of this source is 2.3.10.
1999-11-30 22:12:50 +00:00
Joel Sherrill
48bfd99257 Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.
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-30 19:58:02 +00:00
Joel Sherrill
1563d8cc7d Removed duplicate definition of rtems_filesystem_umask. 1999-11-30 16:52:21 +00:00
Joel Sherrill
1591a1aa87 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:43:46 +00:00
Joel Sherrill
116e54ad16 Uncommitted remains of a previous patch from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which converted fiels to automake.
1999-11-30 14:03:29 +00:00
Joel Sherrill
79f2e19f86 Split from console.c to eliminate dependencies. 1999-11-30 13:58:59 +00:00
Joel Sherrill
e4b25c4839 Corrected so they would compile with POSIX disabled. 1999-11-30 13:46:28 +00:00
Joel Sherrill
1d9a2fc5ab Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.

    SUB_DIRS was used instead of SUBDIRS in some Makefile.ins
    (apparently a leftover from moving the start* directories)

    Addtional major bugs:
    * psxtests/include was empty (incomplete psxtests changes).
    * bogus handling of *.scn in itrontests (screens/sptests vs.
      screens/itrontests installation dirs)

    In addition I have added a few more changes (I couldn't resist)
    * automake support for itrontests
    * OPERATION_COUNT support in tmitrontests/
    * automake support for tmitrontests
    * automake suppport for mptests
    * Some (minor) corrections to several configure.in/Makefile.ams

    => c/src/tests/ is completly under automake control, now.
    => we could start to sort out the structural issues with c/src/tests
      (tests/support, stubdr, tools, get "make dist" working)
1999-11-29 15:45:11 +00:00
Joel Sherrill
64f55e7c32 Made sure POSIX would build with MP enabled. 1999-11-29 15:40:38 +00:00
Joel Sherrill
3dfe0b279e Fixed spacing. 1999-11-29 15:10:30 +00:00
Joel Sherrill
c4ea5efc61 Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which (among other things) converted the mptests to automake.
1999-11-24 14:19:26 +00:00
Joel Sherrill
63bdbbdc95 Readding files mistakenly removed. 1999-11-23 16:02:26 +00:00
Joel Sherrill
49da88cc99 Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
* the PACKHEX etc problem
  * prevents the *.rels being removed inside the build-tree
  * a typo which only shows for when MP is activated
  * Alters some custom/*cfg files
1999-11-23 15:53:09 +00:00
Joel Sherrill
748cdca99f Readding Makefile.in's accidentally removed. 1999-11-23 15:48:26 +00:00
Joel Sherrill
3772e2c14a *** empty log message *** 1999-11-23 14:54:42 +00:00
Joel Sherrill
a1bcc6e944 Moved pmacros.h to include not support/include. 1999-11-23 14:20:41 +00:00
Joel Sherrill
f26a3ab5d0 Patch rtems-rc-19991117-15.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tests/support directory from Makefile.in to Makefile.am.
1999-11-23 14:16:15 +00:00
Joel Sherrill
23e3f642e4 Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
1999-11-23 14:10:05 +00:00
Joel Sherrill
9f4868cea9 Miscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.
1999-11-23 13:57:02 +00:00
Joel Sherrill
d5b004b6e3 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libmisc directory from Makefile.in to Makefile.am.
1999-11-23 13:52:59 +00:00
Joel Sherrill
fd170023c5 Added clock06.c to the compile list. 1999-11-23 13:45:45 +00:00
Joel Sherrill
a23cad6aa0 Files only used by psxfile01, so moved there. 1999-11-23 13:43:34 +00:00
Joel Sherrill
4b9cc0aef1 Test psxfile02 unused and removed. 1999-11-23 13:41:18 +00:00
Joel Sherrill
62fffe594a Unused and removed. 1999-11-23 13:40:26 +00:00
Joel Sherrill
c94eb25b5c Patch rtems-rc-19991117-14.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the psxtests directory from Makefile.in to Makefile.am.
1999-11-23 13:39:29 +00:00
Joel Sherrill
4c285524e4 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:36:18 +00:00
Joel Sherrill
e5a76ee505 Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
1999-11-23 13:35:45 +00:00
Joel Sherrill
6e9ad6ced3 Patch rtems-rc-19991117-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the tmtests directory from Makefile.in to Makefile.am.
1999-11-23 13:32:07 +00:00
Joel Sherrill
fba12eb6ff Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-23 13:29:04 +00:00
Joel Sherrill
7e642bab20 Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libc directory to automake and "dozens of
small fixes for Makefile.ins/configure.ins below c/src/lib."
1999-11-22 19:27:13 +00:00
Joel Sherrill
de759c54f5 Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to fix some minor bugs in the conversion to automake.
1999-11-22 19:23:10 +00:00
Joel Sherrill
e31c63e5a8 Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the sample tests to automake.
1999-11-22 19:21:38 +00:00
Joel Sherrill
5fe4a10911 Converted to automake. 1999-11-22 19:08:23 +00:00
Joel Sherrill
e188c95d96 Now replaced by an automake file. 1999-11-22 19:03:32 +00:00
Joel Sherrill
484bd0e5d4 Corrected. 1999-11-22 19:02:53 +00:00
Joel Sherrill
b8cda5a65b Added ifndef around build_time so pmacros.h and tmacros.h could be included
by the same application.
1999-11-22 19:02:35 +00:00
Joel Sherrill
7dbb0bd230 tmitrontests directory listed twice. 1999-11-22 19:02:05 +00:00
Jennifer Averett
101e9b0af9 Fixed dispatching and cleaned up code. 1999-11-22 16:14:00 +00:00
Jennifer Averett
cb3c171847 + Corrected enable/disable of dispatch.
+ Cleaned up code.
1999-11-22 16:13:22 +00:00
Jennifer Averett
2545646beb + Updated comments.
+ Corrected enable/disable of dispatch.
1999-11-22 16:12:19 +00:00
Jennifer Averett
94f81bbd8b + Corrected bug in error check. 1999-11-22 16:11:35 +00:00
Jennifer Averett
2c3af4c5da + Added description of routine to comment. 1999-11-22 16:10:25 +00:00
Jennifer Averett
0ca4fc83a4 + Corrected error processing code. 1999-11-22 16:09:55 +00:00
Jennifer Averett
f85409cf9c + Added checks for NULL and NULL string names (for sem_open & sem_unlink). 1999-11-22 16:08:53 +00:00
Jennifer Averett
0ebf569402 + Cleaned up comments. 1999-11-22 16:07:02 +00:00