Changeset 4c46630 in rtems


Ignore:
Timestamp:
Jan 31, 2000, 3:15:10 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d7269fb
Parents:
d2bc265
Message:

Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • cleanups to configuration files
  • A reworked gccnewlib.spec.in: I have reformated it for enhanced readability and added more rtems-base packages. It now should be free of any installation conflicts (If there still remain some, they should be regarded as bugs).
  • A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486" now works).
  • removes libbsp/bare/wrapup
  • Further cleanups
Files:
1 deleted
51 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/configure.in

    rd2bc265 r4c46630  
    7070AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
    7171
    72 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    73 AC_SUBST(PROJECT_INCLUDE)
    74 
    7572# Try to explicitly list a Makefile here
    7673AC_OUTPUT(
  • c/src/exec/itron/configure.in

    rd2bc265 r4c46630  
    5858fi
    5959
    60 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    61 AC_SUBST(PROJECT_INCLUDE)
    62 
    6360##
    6461## FIXME: We configure and build the macros subdirectory, too.
  • c/src/exec/posix/configure.in

    rd2bc265 r4c46630  
    6464fi
    6565
    66 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    67 AC_SUBST(PROJECT_INCLUDE)
    68 
    6966##
    7067## FIXME: We configure and build the macros subdirectory, too.
  • c/src/exec/score/cpu/a29k/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/hppa1.1/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/i386/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/i960/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/m68k/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/mips/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/mips64orion/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/no_cpu/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/powerpc/configure.in

    rd2bc265 r4c46630  
    3232RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3333
    34 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    35 AC_SUBST(PROJECT_INCLUDE)
    36 
    3734AM_CONDITIONAL(PPC_NEW_EXCEPTION_PROCESSING,test "$RTEMS_CPU_MODEL" = "mpc750" -o "$RTEMS_CPU_MODEL" = "mpc604")
    3835
  • c/src/exec/score/cpu/sh/configure.in

    rd2bc265 r4c46630  
    3232RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
    3333
    34 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    35 AC_SUBST(PROJECT_INCLUDE)
    36 
    3734# Try to explicitly list a Makefile here
    3835AC_OUTPUT(
  • c/src/exec/score/cpu/sparc/configure.in

    rd2bc265 r4c46630  
    3131RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    3232
    33 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    34 AC_SUBST(PROJECT_INCLUDE)
    35 
    3633# Try to explicitly list a Makefile here
    3734AC_OUTPUT(
  • c/src/exec/score/cpu/unix/configure.in

    rd2bc265 r4c46630  
    3838fi
    3939
    40 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    41 AC_SUBST(PROJECT_INCLUDE)
    42 
    4340# Try to explicitly list a Makefile here
    4441AC_OUTPUT(
  • c/src/lib/configure.in

    rd2bc265 r4c46630  
    5252AC_CONFIG_SUBDIRS($cfg_subdirs)
    5353
    54 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    55 AC_SUBST(PROJECT_INCLUDE)
    56 
    5754# try to explicitly list a Makefile here
    5855AC_OUTPUT(
  • c/src/lib/libbsp/a29k/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/bare/Makefile.am

    rd2bc265 r4c46630  
    1010SUBDIRS = . include
    1111
    12 $(PROJECT_RELEASE)/bsp_specs: bsp_specs
    13         $(INSTALL_DATA) $< $@
    14 
    15 all-local : $(PREINSTALL_FILES)
    16 
    17 EXTRA_DIST = \
    18 build-tools bsp_specs do-bare-bsp-build
     12EXTRA_DIST = bsp_specs build-tools do-bare-bsp-build
    1913
    2014include $(top_srcdir)/../../../../../automake/subdirs.am
  • c/src/lib/libbsp/bare/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/bare/include/Makefile.am

    rd2bc265 r4c46630  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
     6
    67H_FILES = bsp.h
    7 noinst_HEADERS = $(H_FILES)
    88
    9 TMPINSTALL_FILES += \
    10 $(PROJECT_INCLUDE) \
    11 $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h) \
    12 $(PROJECT_INCLUDE)/coverhd.h
     9$(PROJECT_INCLUDE):
     10        $(mkinstalldirs) $@
    1311
    1412$(PROJECT_INCLUDE)/%.h: %.h
     
    1816        $(INSTALL_DATA) $< $@
    1917
     18TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h) \
     19    $(PROJECT_INCLUDE)/coverhd.h
     20
    2021all-local: $(TMPINSTALL_FILES)
    2122
     23EXTRA_DIST = bsp.h
     24
    2225include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libbsp/hppa1.1/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/i386/configure.in

    rd2bc265 r4c46630  
    1111AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i386,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    13 
    14 RTEMS_ENABLE_LIBCDIR
    1513
    1614RTEMS_ENV_RTEMSBSP
  • c/src/lib/libbsp/i386/pc386/tools/configure.in

    rd2bc265 r4c46630  
    1313AC_EXEEXT
    1414
     15RTEMS_ENV_RTEMSBSP
    1516AC_PROG_CC
    1617
  • c/src/lib/libbsp/i960/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/i960/cvme961/configure.in

    rd2bc265 r4c46630  
    99
    1010RTEMS_CANONICAL_TARGET_CPU
    11 AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-no_cpu-cvme961,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960-cvme961,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
  • c/src/lib/libbsp/i960/rxgen960/configure.in

    rd2bc265 r4c46630  
    99
    1010RTEMS_CANONICAL_TARGET_CPU
    11 AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-no_cpu-rxgen960,$RTEMS_VERSION,no)
     11AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp-i960-rxgen960,$RTEMS_VERSION,no)
    1212AM_MAINTAINER_MODE
    1313
  • c/src/lib/libbsp/m68k/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/mips/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/mips64orion/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/no_cpu/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/sh/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/sparc/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libbsp/unix/configure.in

    rd2bc265 r4c46630  
    1212AM_MAINTAINER_MODE
    1313
    14 RTEMS_ENABLE_LIBCDIR
    15 
    1614RTEMS_ENV_RTEMSBSP
    1715RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
  • c/src/lib/libcpu/a29k/clock/ckinit.c

    rd2bc265 r4c46630  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  ckinit.c,v 1.5 1995/10/30 21:53:23 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/lib/libcpu/a29k/clock/clock.h

    rd2bc265 r4c46630  
    1 /* @(#)clock.h       03/15/96     1.1 */
     1/*
     2 * $Id$
     3 */
    24
    35extern void a29k_init_timer( unsigned32 timer_clock_interval );
  • c/src/lib/libcpu/a29k/timer/Makefile.am

    rd2bc265 r4c46630  
    11##
    2 ## Makefile,v 1.2 1995/05/31 16:56:37 joel Exp
     2## $Id$
    33##
    4 ## @(#)Makefile        03/26/96     1.2
    54
    65AUTOMAKE_OPTIONS = foreign 1.4
  • c/src/lib/libcpu/a29k/timer/timer.c

    rd2bc265 r4c46630  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  timer.c,v 1.2 1995/05/31 16:56:39 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/lib/libcpu/a29k/timer/timerisr.c

    rd2bc265 r4c46630  
    2222 *  notice must appear in all copies of this file and its derivatives.
    2323 *
    24  *  timerisr.c,v 1.2 1995/05/31 16:56:40 joel Exp
     24 *  $Id$
    2525 */
    2626
  • c/src/librpc/configure.in

    rd2bc265 r4c46630  
    3030AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
    3131
    32 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    33 AC_SUBST(PROJECT_INCLUDE)
    34 
    3532RTEMS_PROJECT_ROOT
    3633
  • c/src/librtems++/configure.in

    rd2bc265 r4c46630  
    3030AM_CONDITIONAL(HAS_CXX,test "$HAS_CPLUSPLUS" = "yes")
    3131
    32 PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
    33 AC_SUBST(PROJECT_INCLUDE)
    34 
    3532RTEMS_PROJECT_ROOT
    3633
  • make/custom/dmv152.cfg

    rd2bc265 r4c46630  
    6868else
    6969define make-exe
    70         $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
     70        $(LINK.c) $(LDLIBS) -o $(basename $@).nxe \
    7171            $(LINK_OBJS) $(LINK_LIBS)
    7272        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    7373        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    74             $(PACKHEX) > $(basename $@).exe
     74            $(PACKHEX) > $@
    7575        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7676        $(SIZE) $(basename $@).nxe
  • make/custom/gensh2.cfg

    rd2bc265 r4c46630  
    8484        $(LINK.c) -Wl,-Map,$(basename $@).map \
    8585            $(LDLIBS) -o $@ \
    86             $(LINK_OBJS) -lstdc++ $(LINK_LIBS)
     86            $(LINK_OBJS) $(LINK_LIBS) -lstdc++
    8787        $(NM) -n $@ > $(basename $@).num
    8888        $(SIZE) $@
  • scripts-ada/Makefile.am

    rd2bc265 r4c46630  
     1##
     2## $Id$
     3##
     4
    15AUTOMAKE_OPTIONS = foreign
    26
  • scripts-ada/binutils/Makefile.am

    rd2bc265 r4c46630  
     1##
    12## $Id$
     3##
    24
    35AUTOMAKE_OPTIONS = foreign
  • scripts-ada/gdb/Makefile.am

    rd2bc265 r4c46630  
     1##
     2## $Id$
     3##
     4
    15AUTOMAKE_OPTIONS = foreign
    26
  • scripts/Makefile.am

    rd2bc265 r4c46630  
     1##
     2## $Id$
     3##
     4
    15AUTOMAKE_OPTIONS = foreign
    26
  • scripts/binutils/Makefile.am

    rd2bc265 r4c46630  
     1##
    12## $Id$
     3##
    24
    35AUTOMAKE_OPTIONS = foreign
  • scripts/gccnewlib/Makefile.am

    rd2bc265 r4c46630  
     1##
    12## $Id$
     3##
    24
    35AUTOMAKE_OPTIONS = foreign
  • scripts/gccnewlib/gccnewlib.spec.in

    rd2bc265 r4c46630  
    22# spec file for building gcc for rtems
    33#
    4 # Copyright  (c)  1999 OARCorp, Huntsville, AL
     4# Copyright  (c) 1999,2000 OARCorp, Huntsville, AL
    55#
    66# please send bugfixes or comments to joel@OARcorp.com
     
    1515Copyright:    1999 OARCorp
    1616
    17 Provides:       rtems-base-gcc @target_alias@-gcc @target_alias@-chill
    18 Provides:       @target_alias@-gcj @target_alias@-g77 @target_alias@-objc
     17Provides:       rtems-base-gcc @target_alias@-gcc
     18Provides:       rtems-base-chill @target_alias@-chill
     19Provides:       rtems-base-gcj @target_alias@-gcj
     20Provides:       rtems-base-g77 @target_alias@-g77
     21Provides:       @target_alias@-objc
    1922Requires:       @target_alias@-binutils
    2023
     
    5457
    5558 You can get them yourself from the Internet and copy them to
    56  your /usr/src/redhat/SOURCES directory ($RPM_SOURCE_DIR).
     59 your /usr/src/[redhat|packages]/SOURCES directory ($RPM_SOURCE_DIR).
    5760 Or you can try the ftp options of rpm :-)
    58 
    59 %package -n rtems-base-gcc
    60 Summary:      base package for rtems gcc and newlib C Library
    61 Group: rtems
    62 
    63 %description -n rtems-base-gcc
    64 
    65 RTEMS is an open source operating system for embedded systems.
    66 
    67 This is the files for gcc and newlib that are shared by all targets.
    68 
    69 %package -n @target_alias@-gcc
    70 Summary:      rtems gcc and newlib C Library for @target_alias@
    71 Group: rtems
    72 Requires: @target_alias@-binutils rtems-base-gcc
    73 
    74 %description -n @target_alias@-gcc
    75 RTEMS is an open source operating system for embedded systems.
    76 
    77 This is gcc and newlib C Library for @target_alias@.
    78 
    79 %package -n @target_alias@-chill
    80 Summary:      gcc/chill compiler for @target_alias@
    81 Group: rtems
    82 Requires: @target_alias@-gcc
    83 
    84 %description -n @target_alias@-chill
    85 RTEMS is an open source operating system for embedded systems.
    86 
    87 This is the gcc/chill compiler and support files for @target_alias@
    88 
    89 %package -n @target_alias@-gcj
    90 Summary:      gcc/java compiler (gcj) for @target_alias@
    91 Group: rtems
    92 Requires: @target_alias@-gcc
    93 
    94 %description -n @target_alias@-gcj
    95 RTEMS is an open source operating system for embedded systems.
    96 
    97 This is the gcc/java compiler for @target_alias@
    98 
    99 %package -n @target_alias@-g77
    100 Summary:      gcc/g77 compiler for @target_alias@
    101 Group: rtems
    102 Requires: @target_alias@-gcc
    103 
    104 %description -n @target_alias@-g77
    105 RTEMS is an open source operating system for embedded systems.
    106 
    107 This is the gcc/g77 compiler for @target_alias@
    108 
    109 %package -n @target_alias@-objc
    110 Summary:      gcc/objc compiler for @target_alias@
    111 Group: rtems
    112 Requires: @target_alias@-objc
    113 
    114 %description -n @target_alias@-objc
    115 RTEMS is an open source operating system for embedded systems.
    116 
    117 This is the gcc/objc compiler for @target_alias@
    11861
    11962%prep
     
    199142  done
    200143
     144# ==============================================================
     145# rtems-base-gcc
     146# ==============================================================
     147%package -n rtems-base-gcc
     148Summary:      base package for rtems gcc and newlib C Library
     149Group: rtems
     150
     151%description -n rtems-base-gcc
     152
     153RTEMS is an open source operating system for embedded systems.
     154
     155This is the files for gcc and newlib that are shared by all targets.
     156
    201157%files -n rtems-base-gcc
    202158%dir /opt/rtems/info
    203 # %doc /opt/rtems/info/dir
    204 %doc /opt/rtems/info/cpp.info*
    205 %doc /opt/rtems/info/gcc.info*
    206 %doc /opt/rtems/info/libc.info*
    207 %doc /opt/rtems/info/libm.info*
     159%doc /opt/rtems/info/cpp.info*.gz
     160%doc /opt/rtems/info/gcc.info*.gz
     161%doc /opt/rtems/info/libc.info*.gz
     162%doc /opt/rtems/info/libm.info*.gz
    208163
    209164%dir /opt/rtems/bin
     
    218173/opt/rtems/include/g++-3
    219174
     175%post -n rtems-base-gcc
     176  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     177  then
     178    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     179    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     180    test -n "$f" && for i in $f; do
     181      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     182    done
     183  fi
     184
     185%postun -n rtems-base-gcc
     186  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     187  then
     188    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     189    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     190    test -n "$f" && for i in $f; do
     191      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     192    done
     193  fi
     194
     195# ==============================================================
     196# @target_alias@-gcc
     197# ==============================================================
     198%package -n @target_alias@-gcc
     199Summary:      rtems gcc and newlib C Library for @target_alias@
     200Group: rtems
     201Requires: @target_alias@-binutils rtems-base-gcc
     202
     203%description -n @target_alias@-gcc
     204RTEMS is an open source operating system for embedded systems.
     205
     206This is gcc and newlib C Library for @target_alias@.
     207
    220208%files -n @target_alias@-gcc -f build/files.gcc
    221 
    222209%doc /opt/rtems/man/man1/@target_alias@-gcc.1
    223210%doc /opt/rtems/man/man1/@target_alias@-g++.1
     
    233220/opt/rtems/@target_alias@
    234221
    235 %post -n @target_alias@-gcc
    236   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    237   then
    238     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    239     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    240     test -n "$f" && for i in $f; do
    241       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    242     done
    243   fi
    244 
    245 %postun -n @target_alias@-gcc
    246   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    247   then
    248     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    249     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    250     test -n "$f" && for i in $f; do
    251       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    252     done
    253   fi
    254 
     222# ==============================================================
     223# rtems-base-chill
     224# ==============================================================
     225%package -n rtems-base-chill
     226Summary:      base package for rtems gcc/chill compiler.
     227Group: rtems
     228Requires: rtems-base-gcc
     229
     230%description -n rtems-base-chill
     231RTEMS is an open source operating system for embedded systems.
     232
     233This is the files for gcc/chill that are shared by all targets.
     234
     235%files -n rtems-base-chill
     236%dir /opt/rtems/info
     237%doc /opt/rtems/info/chill.info*.gz
     238
     239%post -n rtems-base-chill
     240  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     241  then
     242    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     243    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     244    test -n "$f" && for i in $f; do
     245      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     246    done
     247  fi
     248
     249%postun -n rtems-base-chill
     250  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     251  then
     252    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     253    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     254    test -n "$f" && for i in $f; do
     255      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     256    done
     257  fi
     258
     259# ==============================================================
     260# @target_alias@-chill
     261# ==============================================================
     262%package -n @target_alias@-chill
     263Summary:      gcc/chill compiler for @target_alias@
     264Group: rtems
     265Requires: rtems-base-chill @target_alias@-gcc
     266
     267%description -n @target_alias@-chill
     268RTEMS is an open source operating system for embedded systems.
     269
     270This is the gcc/chill compiler and support files for @target_alias@
    255271
    256272%files -n @target_alias@-chill -f build/files.chill
     
    258274/opt/rtems/bin/@target_alias@-chill
    259275
    260 %dir /opt/rtems/info
    261 %doc /opt/rtems/info/dir
    262 %doc /opt/rtems/info/chill.info*
    263 
    264 %post -n @target_alias@-chill
    265   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    266   then
    267     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    268     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    269     test -n "$f" && for i in $f; do
    270       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    271     done
    272   fi
    273 
    274 %postun -n @target_alias@-chill
    275   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    276   then
    277     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    278     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    279     test -n "$f" && for i in $f; do
    280       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    281     done
    282   fi
    283 
    284 
    285 %files -n @target_alias@-gcj -f build/files.gcj
     276# ==============================================================
     277# rtems-base-gcj
     278# ==============================================================
     279%package -n rtems-base-gcj
     280Summary:      base package for rtems gcc/java compiler (gcj).
     281Group: rtems
     282Requires: rtems-base-gcc
     283
     284%description -n rtems-base-gcj
     285RTEMS is an open source operating system for embedded systems.
     286
     287This is the files for gcc/java (gcj) that are shared by all targets.
     288
     289%files -n rtems-base-gcj
    286290%dir /opt/rtems/bin
    287291/opt/rtems/bin/jcf-dump@exe_ext@
    288292/opt/rtems/bin/jv-scan@exe_ext@
    289293/opt/rtems/bin/gcjh@exe_ext@
     294
     295# ==============================================================
     296# @target_alias@-gcj
     297# ==============================================================
     298%package -n @target_alias@-gcj
     299Summary:      gcc/java compiler (gcj) for @target_alias@
     300Group: rtems
     301Requires: rtems-base-gcj @target_alias@-gcc
     302
     303%description -n @target_alias@-gcj
     304RTEMS is an open source operating system for embedded systems.
     305
     306This is the gcc/java compiler for @target_alias@
     307
     308%files -n @target_alias@-gcj -f build/files.gcj
     309%dir /opt/rtems/bin
    290310/opt/rtems/bin/@target_alias@-gcj@exe_ext@
    291311
     
    293313/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/jvgenmain
    294314
    295 
    296 %files -n @target_alias@-g77 -f build/files.g77
    297 %dir /opt/rtems/bin
    298 /opt/rtems/bin/@target_alias@-g77@exe_ext@
    299 
     315# ==============================================================
     316# rtems-base-g77
     317# ==============================================================
     318%package -n rtems-base-g77
     319Summary:      rtems base package for gcc/g77 compiler
     320Group: rtems
     321Requires: rtems-base-gcc
     322
     323%description -n rtems-base-g77
     324RTEMS is an open source operating system for embedded systems.
     325
     326This is the files for gcc/g77 that are shared by all targets.
     327
     328%files -n rtems-base-g77
    300329%dir /opt/rtems/info
    301 %doc /opt/rtems/info/g77.info*
     330%doc /opt/rtems/info/g77.info*.gz
    302331
    303332%dir /opt/rtems/man
     
    305334%doc /opt/rtems/man/man1/@target_alias@-g77.1
    306335
     336%post -n rtems-base-g77
     337  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     338  then
     339    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     340    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     341    test -n "$f" && for i in $f; do
     342      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     343    done
     344  fi
     345
     346%postun -n rtems-base-g77
     347  if test -d $RPM_INSTALL_PREFIX/rtems/info;
     348  then
     349    rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
     350    f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
     351    test -n "$f" && for i in $f; do
     352      install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
     353    done
     354  fi
     355
     356# ==============================================================
     357# @target_alias@-g77
     358# ==============================================================
     359%package -n @target_alias@-g77
     360Summary:      gcc/g77 compiler for @target_alias@
     361Group: rtems
     362Requires: rtems-base-g77 @target_alias@-gcc
     363
     364%description -n @target_alias@-g77
     365RTEMS is an open source operating system for embedded systems.
     366
     367This is the gcc/g77 compiler for @target_alias@
     368
     369%files -n @target_alias@-g77 -f build/files.g77
     370%dir /opt/rtems/bin
     371/opt/rtems/bin/@target_alias@-g77@exe_ext@
     372
    307373/opt/rtems/lib/gcc-lib/@target_alias@/@gcc_version@/f771@exe_ext@
    308374
    309 %post -n @target_alias@-g77
    310   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    311   then
    312     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    313     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    314     test -n "$f" && for i in $f; do
    315       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    316     done
    317   fi
    318 
    319 %postun -n @target_alias@-g77
    320   if test -d $RPM_INSTALL_PREFIX/rtems/info;
    321   then
    322     rm -f $RPM_INSTALL_PREFIX/rtems/info/dir
    323     f=`find $RPM_INSTALL_PREFIX/rtems/info -name '*.info.gz'`
    324     test -n "$f" && for i in $f; do
    325       install-info $i $RPM_INSTALL_PREFIX/rtems/info/dir
    326     done
    327   fi
    328 
     375# ==============================================================
     376# @target_alias@-objc
     377# ==============================================================
     378%package -n @target_alias@-objc
     379Summary:      gcc/objc compiler for @target_alias@
     380Group: rtems
     381Requires: @target_alias@-gcc
     382
     383%description -n @target_alias@-objc
     384RTEMS is an open source operating system for embedded systems.
     385
     386This is the gcc/objc compiler for @target_alias@
    329387
    330388%files -n @target_alias@-objc -f build/files.objc
  • scripts/gdb/Makefile.am

    rd2bc265 r4c46630  
     1##
     2## $Id$
     3##
     4
    15AUTOMAKE_OPTIONS = foreign
    26
  • scripts/rtems/Makefile.am

    rd2bc265 r4c46630  
     1##
     2## $Id$
     3##
     4
    15AUTOMAKE_OPTIONS = foreign
    26
Note: See TracChangeset for help on using the changeset viewer.