Commit Graph

11 Commits

Author SHA1 Message Date
Joel Sherrill
0a8a4c128d Patch from James Housley <jim@thehousleys.net> to address FreeBSD 4.x
build issues.
2000-06-16 13:05:17 +00:00
Joel Sherrill
92ba047699 Patches rtems-rc-4.5.0-16-cvs.diff and rtems-rc-4.5.0-17-cvs.diff
from Ralf Corsepius <corsepiu@faw.uni-ulm.de> that address the following:

  * NoSource: 0, 1 in rpm-specs does not work anymore under SuSE-6.4
    (rpm-3.0.4), putting each NoSource: onto a separate line however seems
    to work. Unfortunately, I don't know the actual cause for this, esp. if
    SuSE broke it or if rpm-specs specification has changed (i.e.
    Redhat broke it up).
  * Add *.spec to several .cvsignores (Prevents cvs from complaining about
    <target>*.spec within the source-tree).
2000-04-18 13:18:34 +00:00
Joel Sherrill
8f5da34c1c Patch rtems-rc-4.5.0-15-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that addresses configuration issues for posix/linux under SuSE-6.4:

    Unbelievable as it is, SuSE has started to use i486-suse-linux as
    canonicalization triple which breaks out linux/posix/unix.
2000-04-18 13:00:20 +00:00
Joel Sherrill
562f5c8591 Added cygwin as mapping to unix port. 2000-04-03 19:01:31 +00:00
Joel Sherrill
78ffe896ec Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Removed all go32 configuration tests.

  This patch also comments out some special treatment for Cygwin from
  *.m4 macros. According to reports from David Fiddes. these should
  not be necessary anymore.
1999-10-11 15:50:20 +00:00
Joel Sherrill
8c92fa385a Patcg from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
-- configure now fails to detect the toolchain for linux-posix.

  As work-around, I have reverted to the old behavior of RTEMS_TARGET_CPU_NAME,
  thus no_cpu/no_bsp will fail badly in configure again.
1999-06-16 14:55:28 +00:00
Joel Sherrill
d2d22780d5 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> When I run my script that just repeatedly builds different targets, some
    > of them die with an error like this:
    >
    > Making all RTEMS_BSP=gen68360 in cpugmake[5]: Entering directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    > Making all RTEMS_BSP=gen68360 in @RTEMS_CPU@
    > /bin/sh: @RTEMS_CPU@: No such file or directory
    > gmake[5]: *** [all] Error 1
    > gmake[5]: Leaving directory
    > `/usr1/rtems/build/build-m68k-rtems/c/src/exec/score/cpu'
    >
    > It is not always the same variable substitution that fails.  Sometimes it
    > is @INSTALL@.  But reliably, it is a variable substitution that is
    > failing.
    >
    > Do you have any idea why this happens?

    Yep, I think I know what's going on.

    AC_SUBST(RTEMS_CPU) is missing in configure.ins, thus @RTEMS_CPU@ in
    target.cfg.in doesn't get substituted correctly, causing the bug above. Due
    to the redundancy of RTEMS_CPU, other most BSPs don't seem to be affected.

    Other similar problems probably exist for the unix/posix bsp and the hppa.1
    cpu, because their */tools/*Makefile.ams require RTEMS_CPU, too.
1999-06-15 22:46:44 +00:00
Joel Sherrill
15aa5ffbfd Patch ("FIX: no_cpu/no_bsp") from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This patch should fix the nastiest configuration bugs for no_cpu/no_bsp.

    With this patch applied, configure --target=no_cpu-rtems now correctly
    acknowledges its configuration, but later fails building when trying to
    build libcsupport (I leave this problem for you :-).

    Fixes/Changes:
    * aclocal/canonicalize-target-name.m4: use RTEMS_CPU instead of
      target_cpu, switch to a native compiler setup if target = no_cpu*rtems,
      ie. implicitly use host=target (native) and RTEMS_CPU=no_cpu for
      --target=no_cpu*rtems.
    * add no_bsp/bsp_specs (Support -qrtems, -qrtems_debug; please check
      before adding :-)
    * Use RTEMS_CANONICALIZE_TARGET_CPU instead of AC_CANONICAL_SYSTEM in
      toplevel/configure.in
    * All references to $target_cpu in aclocal/*.m4, Makefile.ins and *.cfg
      files changed to RTEMS_CPU
    * bug fixes to exec/score/cpu/no_cpu/wrap (This part of the patch may
      result into patch rejections, because your recently posted patch may
      also have addressed this problem).

    After applying this patch, please do:

        cvs add c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs
        ./autogen
1999-06-14 18:54:24 +00:00
Joel Sherrill
dfe7746ed9 Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> 1999-03-17 23:43:32 +00:00
Joel Sherrill
b931d05af0 Added Id's. 1998-09-30 19:51:39 +00:00
Joel Sherrill
6c77bbab39 New autoconf feature from Ralf Corsepius:
It adds make rules for reconfiguring build-trees ("make Makefile") and
  adds dependency rules for configure and friends (i.e. calls autoconf).
  Most of this code has been "borrowed" from automake and was adapted to
  rtems.

  Addionally, I added automatic generation of the "aclocal.m4"-file by
  "aclocal" (from the automake package). Therefore I splitted aclocal.m4
  into several separate files (attached to this mail), each containing one
  of rtems customized autoconf/m4-macros and have put them into a new
  subdirectory "aclocal". Normal users won't be influenced and won't even
  need this, unless they try to modify configure.in.

  The main advantage of this is: these aclocal/m4-macros become reusable
  and easier to administer. As a disadvantage, rtems becomes dependent of
  having aclocal/automake installed. To keep building rtems functional if
  autoconf or aclocal isn't installed, the related Makefile commands are
  prefixed by "-" -- only an error message should be issued by "make".
1998-02-04 14:54:27 +00:00