Changeset 84f0cfb in rtems


Ignore:
Timestamp:
Dec 9, 2003, 2:52:20 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4b27d816
Parents:
82706f2
Message:

2003-12-09 Ralf Corsepius <corsepiu@…>

  • bootloader/Makefile.am: Misc cleanups and fixes.
  • motorola/Makefile.am: Misc cleanups and fixes.
  • start/Makefile.am: Misc cleanups and fixes.
  • startup/Makefile.am: Misc cleanups and fixes.
  • startup/linkcmds: Preparations for gcc-3.3.x.
Location:
c/src/lib/libbsp/powerpc/motorola_powerpc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog

    r82706f2 r84f0cfb  
     12003-12-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * bootloader/Makefile.am: Misc cleanups and fixes.
     4        * motorola/Makefile.am: Misc cleanups and fixes.
     5        * start/Makefile.am: Misc cleanups and fixes.
     6        * startup/Makefile.am: Misc cleanups and fixes.
     7        * startup/linkcmds: Preparations for gcc-3.3.x.
     8
    192003-12-03      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am

    r82706f2 r84f0cfb  
    4848        cp $< $@
    4949
    50 ppcbootdir = $(bsplibdir)
    51 ppcboot_DATA = bootloader.$(OBJEXT)
    52 ppcboot_DATA += ../../shared/bootloader/ppcboot.lds
     50project_lib_DATA = bootloader.$(OBJEXT)
     51project_lib_DATA += ../../shared/bootloader/ppcboot.lds
    5352
    5453# FIXME: Tmp-install stuff to make mcp750.cfg's make-exe happy.
     
    5655# We might consider to use this directory directly for in-source-tree
    5756# building, instead.
    58 $(PROJECT_RELEASE)/lib/%: %
    59         $(INSTALL_DATA) $< $@
    60 
    61 TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib/bootloader.$(OBJEXT) \
    62     $(PROJECT_RELEASE)/lib/ppcboot.lds
    6357
    6458all-local: $(TMPINSTALL_FILES)
    6559
     60TMPINSTALL_FILES =
     61
     62${PROJECT_RELEASE}/lib/bootloader.$(OBJEXT): bootloader.$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
     63        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/bootloader.$(OBJEXT)
     64TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/bootloader.$(OBJEXT)
     65
     66${PROJECT_RELEASE}/lib/ppcboot.lds: ../../shared/bootloader/ppcboot.lds ${PROJECT_RELEASE}/lib/$(dirstamp)
     67        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/ppcboot.lds
     68TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/ppcboot.lds
     69
    6670include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/motorola/Makefile.am

    r82706f2 r84f0cfb  
    2525all-local: $(OBJS)
    2626
    27     $(top_srcdir)/../shared/motorola/motorola.h
    28         $(INSTALL_DATA) $< $@
    29 
    3027PREINSTALL_FILES =
    3128
  • c/src/lib/libbsp/powerpc/motorola_powerpc/start/Makefile.am

    r82706f2 r84f0cfb  
    1212include $(top_srcdir)/../../../../automake/compile.am
    1313include $(top_srcdir)/../../../../automake/lib.am
     14include $(top_srcdir)/../../bspstart.am
    1415
    1516#
    1617# (OPTIONAL) Add local stuff here using +=
    1718#
    18 bsplib_DATA = $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
    19 bsplib_DATA += $(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT)
     19project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
     20project_lib_DATA += $(ARCH)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
    2021
    21 $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
    22         $(INSTALL_DATA) $< $@
     22all-local: $(TMPINSTALL_FILES)
    2323
    24 $(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT): $(ARCH)/rtems_crti.$(OBJEXT)
    25         $(INSTALL_DATA) $< $@
     24${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
     25        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
     26TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/start$(LIB_VARIANT).$(OBJEXT)
    2627
    27 TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
    28 TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT)
    29 
    30 all-local: $(OBJS) $(ARCH)/start.$(OBJEXT) $(ARCH)/rtems_crti.$(OBJEXT) $(TMPINSTALL_FILES)
    31 
    32 $(OBJS): $(ARCH)
    33 
    34 .PRECIOUS: $(ARCH)/start.$(OBJEXT) $(ARCH)/rtems_crti.$(OBJEXT)
     28${PROJECT_RELEASE}/lib/rtems_crti$(LIB_VARIANT).$(OBJEXT): $(ARCH)/rtems_crti$(LIB_VARIANT).$(OBJEXT) ${PROJECT_RELEASE}/lib/$(dirstamp)
     29        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/rtems_crti$(LIB_VARIANT).$(OBJEXT)
     30TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/rtems_crti$(LIB_VARIANT).$(OBJEXT)
    3531
    3632include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/startup/Makefile.am

    r82706f2 r84f0cfb  
    44
    55VPATH = @srcdir@:@srcdir@/../console:@srcdir@/../../shared/startup:@srcdir@/../../../shared
     6
     7PGM = $(ARCH)/startup.rel
    68
    79C_FILES = bootcard.c main.c bspstart.c bsppost.c bsplibc.c sbrk.c bspclean.c \
     
    1820#
    1921
    20 bsplib_DATA = linkcmds
     22$(PGM): $(OBJS)
     23        $(make-rel)
    2124
    22 $(PROJECT_RELEASE)/lib/linkcmds: linkcmds
    23         $(INSTALL_DATA) $< $@
     25project_lib_DATA = linkcmds
    2426
    25 # FIXME: This should not be here
    26 # $(PROJECT_RELEASE)/lib/libbsp.a:
    27 #       cd ../wrapup; $(MAKE) $(AM_MAKEFLAGS)
    28 
    29 TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
    30 
    31 all-local: $(OBJS) $(TMPINSTALL_FILES)
     27all-local: $(PGM) $(TMPINSTALL_FILES)
    3228
    3329EXTRA_DIST = linkcmds
    3430
     31${PROJECT_RELEASE}/lib/linkcmds: linkcmds ${PROJECT_RELEASE}/lib/$(dirstamp)
     32        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/linkcmds
     33TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/linkcmds
     34
    3535include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds

    r82706f2 r84f0cfb  
    132132    */
    133133        PROVIDE(__DATA_START__ = ABSOLUTE(.) );
    134     *(.data)
    135     *(.gnu.linkonce.d*)
     134    *(.data .data.* .gnu.linkonce.d*)   
    136135    SORT(CONSTRUCTORS)
    137136  } > CODE
Note: See TracChangeset for help on using the changeset viewer.