Changeset 919822f in rtems


Ignore:
Timestamp:
Oct 27, 1999, 4:19:24 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8ac4213
Parents:
d73a8649
Message:

Replaced Makefile.in's with modified copies of cvme961 to get
autoconf/automake changes.

Location:
c/src/lib/libbsp/i960/rxgen960
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i960/rxgen960/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../..
     9subdir = i960/rxgen960
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     14VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    1217include $(RTEMS_ROOT)/make/directory.cfg
     18
     19INSTALL_CHANGE = @INSTALL_CHANGE@
     20
     21# We only build the multiprocessing support if HAS_MP was defined
     22MP_SUPPORT_yes_V = shmsupp
     23MP_SUPPORT = $(MP_SUPPORT_$(HAS_MP)_V)
    1324
    1425# wrapup is the one that actually builds and installs the library
    1526#  from the individual .rel files built in other directories
    16 SUB_DIRS=include startup clock console shmsupp timer wrapup
     27SUB_DIRS = include startup clock console $(MP_SUPPORT) timer wrapup
     28
     29Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     30        cd $(top_builddir) \
     31         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/clock/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/cvme961/clock
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 PGM=${ARCH}/clock.rel
     14VPATH = @srcdir@
     15
     16PGM = ${ARCH}/clock.rel
    1217
    1318# C source names, if any, go here -- minus the .c
    14 C_PIECES=ckinit
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = ckinit
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1722
    18 H_FILES=
     23H_FILES =
    1924
    20 SRCS=$(C_FILES) $(H_FILES)
    21 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2227
    23 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2429include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    2532
    2633#
     
    2835#
    2936
    30 DEFINES  +=
     37DEFINES +=
    3138CPPFLAGS +=
    32 CFLAGS   +=
     39CFLAGS +=
    3340
    34 LD_PATHS  +=
    35 LD_LIBS   +=
    36 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    3744
    3845#
     
    4956        $(make-rel)
    5057
    51 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5259
    5360# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    54 install:  all
     61install: all
     62
     63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     64        cd $(top_builddir) \
     65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/console/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen/console
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 PGM=${ARCH}/console.rel
     14VPATH = @srcdir@
     15
     16PGM = ${ARCH}/console.rel
    1217
    1318# C source names, if any, go here -- minus the .c
    14 C_PIECES=console pcimsgreg
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = console pcimsgreg
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1722
    18 H_FILES=$(srcdir)/concntl.h
     23H_FILES =
    1924
    20 # Assembly source names, if any, go here -- minus the .s
    21 S_PIECES=
    22 S_FILES=$(S_PIECES:%=%.s)
    23 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2427
    25 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    26 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     29include $(RTEMS_ROOT)/make/leaf.cfg
    2730
    28 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    29 include $(RTEMS_ROOT)/make/leaf.cfg
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    3032
    3133#
     
    3335#
    3436
    35 DEFINES  +=
     37DEFINES +=
    3638CPPFLAGS +=
    37 CFLAGS   +=
     39CFLAGS +=
    3840
    39 LD_PATHS  +=
    40 LD_LIBS   +=
    41 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    4244
    4345#
     
    5456        $(make-rel)
    5557
    56 all:    ${ARCH} $(SRCS) $(PGM)
    57         $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include
     58all: ${ARCH} $(SRCS) $(PGM)
    5859
    5960# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
     61install: all
     62
     63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     64        cd $(top_builddir) \
     65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/include/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen960/include
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
     12PROJECT_ROOT = @PROJECT_ROOT@
     13
    714VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
    9 PROJECT_ROOT = @PROJECT_ROOT@
    1015
    1116H_FILES = $(srcdir)/bsp.h $(srcdir)/coverhd.h
     
    2429EQ_FILES =
    2530
    26 SRCS=$(H_FILES) $(EQ_FILES)
     31SRCS = $(H_FILES) $(EQ_FILES)
    2732
    28 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2934include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
     37mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
     38
     39INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/cpu
     40
     41$(INSTALLDIRS):
     42        @$(mkinstalldirs) $(INSTALLDIRS)
    3043
    3144CLEAN_ADDITIONS +=
    3245CLOBBER_ADDITIONS +=
    3346
    34 all:    $(SRCS)
    35         $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
    36         $(INSTALL) -m 444 $(EQ_FILES) $(PROJECT_INCLUDE)/cpu
     47all: $(SRCS)
     48        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
     49        @$(INSTALL_CHANGE) -m 644 $(EQ_FILES) $(PROJECT_INCLUDE)/cpu
    3750
    38 install:  all
     51install: all
     52
     53Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     54        cd $(top_builddir) \
     55         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/shmsupp/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen960/shmsupp
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 PGM=${ARCH}/shmsupp.rel
     14VPATH = @srcdir@
     15
     16PGM = ${ARCH}/shmsupp.rel
    1217
    1318# C source names, if any, go here -- minus the .c
    14 C_PIECES=addrconv getcfg lock mpisr
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = addrconv getcfg lock mpisr
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1722
    18 H_FILES=
     23H_FILES =
    1924
    20 SRCS=$(C_FILES) $(H_FILES)
    21 OBJS=$(C_O_FILES)
     25SRCS = $(C_FILES) $(H_FILES)
     26OBJS = $(C_O_FILES)
    2227
    23 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2429include $(RTEMS_ROOT)/make/leaf.cfg
     30
     31INSTALL_CHANGE = @INSTALL_CHANGE@
    2532
    2633#
     
    2835#
    2936
    30 DEFINES  +=
     37DEFINES +=
    3138CPPFLAGS +=
    32 CFLAGS   +=
     39CFLAGS +=
    3340
    34 LD_PATHS  +=
    35 LD_LIBS   +=
    36 LDFLAGS   +=
     41LD_PATHS +=
     42LD_LIBS +=
     43LDFLAGS +=
    3744
    3845#
     
    4956        $(make-rel)
    5057
    51 all:    ${ARCH} $(SRCS) $(PGM)
     58all: ${ARCH} $(SRCS) $(PGM)
    5259
    5360# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    54 install:  all
     61install: all
    5562
     63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     64        cd $(top_builddir) \
     65         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/shmsupp/mpisr.c

    rd73a8649 r919822f  
    1 /*  Shm_isr_cvme961()
    2  *
     1/*
    32 *  NOTE: This routine is not used when in polling mode.  Either
    43 *        this routine OR Shm_clockisr is used in a particular system.
     
    2322#include "shm.h"
    2423
    25 rtems_isr Shm_isr_cvme961(
     24rtems_isr Shm_isr_rxgen960(
    2625  rtems_vector_number vector
    2726)
     
    6160    (*(rtems_unsigned8 *)0xc00000b0) =
    6261      (Shm_RTEMS_MP_Configuration->node - 1) | 0x10;
    63     set_vector( Shm_isr_cvme961, 6, 1 );
     62    set_vector( Shm_isr_rxgen960, 6, 1 );
    6463                                        /* set ICMS Bector Base Register */
    6564    (*(rtems_unsigned8 *)0xa0000053) = 0x60;  /* XINT6 vector is 0x62 */
  • c/src/lib/libbsp/i960/rxgen960/startup/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@:@srcdir@/../../../shared
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen960/startup
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 PGM=${ARCH}/startup.rel
    12 IPGM=${ARCH}/startup.indv
     14VPATH = @srcdir@:@srcdir@/../../../shared
    1315
     16PGM = ${ARCH}/startup.rel
    1417
    1518# C source names, if any, go here -- minus the .c
    16 # OLD:C_PIECES=bspclean bsplibc bsppost bspstart main sbrk setvec
    17 # we assume to get the following sources from bsplib/shared
    18 C_PIECES=bspstart bsppost bspclean bsplibc main sbrk setvec kkprintf frmstr nmi XtInt
    19 C_FILES=$(C_PIECES:%=%.c)
    20 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19#C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
     20#    gnatinstallhandler
     21C_PIECES = bspstart cntrltbl exit fault flttbl frmstr intrtbl kkprintf \
     22   nmi nulsystbl prcb rom_cntrltbl rom_ibr rom_prcb save_systbl
     23   sctns setvec systbl
     24C_FILES = $(C_PIECES:%=%.c)
     25C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    2126
    22 # C individual source names, if any, go here -- minus the .c
    23 CI_PIECES=cntrltbl flttbl intrtbl prcb sctns fault nulsystbl systbl rom_cntrltbl rom_prcb rom_ibr
    24 CI_FILES=$(CI_PIECES:%=%.c)
    25 CI_O_FILES=$(CI_PIECES:%=${ARCH}/%.o)
     27S_PIECES = asmfault asmstub ihandler rxgen_romld sctns systbl
     28S_FILES = $(S_PIECES:%=%.S)
     29S_O_FILES = $(S_PIECES:%=${ARCH}/%.o)
    2630
    27 H_FILES=
     31H_FILES =
    2832
    29 # Assembly source names, if any, go here -- minus the .s
    30 S_PIECES=
    31 S_FILES=$(S_PIECES:%=%.s)
    32 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     33SRCS = $(C_FILES) $(S_FILES) $(H_FILES)
     34OBJS = $(C_O_FILES) $(S_O_FILES)
    3335
    34 # Assembly individual source names, if any, go here -- minus the .s
    35 SI_PIECES=rxgen_romld asmfault asmstub ihandler
    36 SI_FILES=$(SI_PIECES:%=%.s)
    37 SI_O_FILES=$(SI_FILES:%.s=${ARCH}/%.o)
     36include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     37include $(RTEMS_ROOT)/make/leaf.cfg
    3838
    39 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    40 OBJS=$(C_O_FILES) $(S_O_FILES)
     39INSTALL_CHANGE = @INSTALL_CHANGE@
     40mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    4141
    42 ISRCS=$(CI_FILES) $(H_FILES) $(SI_FILES)
    43 IOBJS=$(CI_O_FILES) $(SI_O_FILES)
     42INSTALLDIRS = $(PROJECT_RELEASE)/lib
    4443
    45 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    46 include $(RTEMS_ROOT)/make/leaf.cfg
     44$(INSTALLDIRS):
     45        @$(mkinstalldirs) $(INSTALLDIRS)
    4746
    4847#
     
    5049#
    5150
    52 DEFINES  +=
     51DEFINES +=
    5352CPPFLAGS +=
    54 CFLAGS   +=
     53CFLAGS +=
    5554
    56 LD_PATHS  +=
    57 LD_LIBS   +=
    58 LDFLAGS   +=
     55LD_PATHS +=
     56LD_LIBS +=
     57LDFLAGS +=
    5958
    6059#
     
    6766CLEAN_ADDITIONS +=
    6867CLOBBER_ADDITIONS +=
     68
    6969${PGM}: ${SRCS} ${OBJS}
    7070        $(make-rel)
    7171
    72 ${IPGM}: ${ISRCS} ${IOBJS}
    73         touch ${IPGM}
    74 
    75 all:    ${ARCH} $(SRCS) $(PGM) $(ISRCS) $(IPGM)
    76         $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib
    77         i960-rtems-strip --strip-debug ${ARCH}/rom_ibr.o
     72all: ${ARCH} $(SRCS) $(PGM)
     73        $(INSTALL_CHANGE) -m 644 $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib
    7874
    7975# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    80 install:  all
     76install: all
    8177
    82 
     78Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     79        cd $(top_builddir) \
     80         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/timer/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen/timer
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 PGM=${ARCH}/timer.rel
     14VPATH = @srcdir@
     15
     16PGM = ${ARCH}/timer.rel
    1217
    1318# C source names, if any, go here -- minus the .c
    14 C_PIECES=timer
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
     19C_PIECES = timer
     20C_FILES = $(C_PIECES:%=%.c)
     21C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
    1722
    18 H_FILES=
     23H_FILES =
    1924
    20 # Assembly source names, if any, go here -- minus the .s
    21 S_PIECES=
    22 S_FILES=$(S_PIECES:%=%.s)
    23 S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
     25# Assembly source names, if any, go here -- minus the .S
     26S_PIECES = timerisr
     27S_FILES = $(S_PIECES:%=%.S)
     28S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    2429
    25 SRCS=$(C_FILES) $(H_FILES) $(S_FILES)
    26 OBJS=$(C_O_FILES) $(S_O_FILES)
     30SRCS = $(C_FILES) $(H_FILES) $(S_FILES)
     31OBJS = $(C_O_FILES) $(S_O_FILES)
    2732
    28 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    2934include $(RTEMS_ROOT)/make/leaf.cfg
     35
     36INSTALL_CHANGE = @INSTALL_CHANGE@
    3037
    3138#
     
    3340#
    3441
    35 DEFINES  +=
     42DEFINES +=
    3643CPPFLAGS +=
    37 CFLAGS   +=
     44CFLAGS +=
    3845
    39 LD_PATHS  +=
    40 LD_LIBS   +=
    41 LDFLAGS   +=
     46LD_PATHS +=
     47LD_LIBS +=
     48LDFLAGS +=
    4249
    4350#
     
    5461        $(make-rel)
    5562
    56 all:    ${ARCH} $(SRCS) $(PGM)
     63all: ${ARCH} $(SRCS) $(PGM)
    5764
    5865# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    59 install:  all
     66install: all
     67
     68Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     69        cd $(top_builddir) \
     70         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  • c/src/lib/libbsp/i960/rxgen960/wrapup/Makefile.in

    rd73a8649 r919822f  
    55@SET_MAKE@
    66srcdir = @srcdir@
    7 VPATH = @srcdir@
    8 RTEMS_ROOT = @top_srcdir@
     7top_srcdir = @top_srcdir@
     8top_builddir = ../../..
     9subdir = i960/rxgen960/wrapup
     10
     11RTEMS_ROOT = @RTEMS_ROOT@
    912PROJECT_ROOT = @PROJECT_ROOT@
    1013
    11 BSP_PIECES=startup clock console shmsupp timer
    12 GENERIC_PIECES=shmdr
     14VPATH = @srcdir@
     15
     16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     17include $(RTEMS_ROOT)/make/lib.cfg
     18
     19INSTALL = @INSTALL@
     20INSTALL_CHANGE = @INSTALL_CHANGE@
     21
     22BSP_PIECES = startup clock console timer
     23GENERIC_PIECES =
     24
     25GENERIC_MP_REL_PIECES_yes_V = shmdr
     26GENERIC_MP_REL_PIECES_no_V =
     27GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V)
     28
     29BSP_MP_O_PIECES_yes_V = shmsupp
     30BSP_MP_O_PIECES_no_V =
     31BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V)
    1332
    1433# bummer; have to use $foreach since % pattern subst rules only replace 1x
    15 OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
    16      $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel)
    17 LIB=$(ARCH)/libbsp.a
    18 
    19 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    20 include $(RTEMS_ROOT)/make/lib.cfg
     34OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
     35    $(foreach piece, $(GENERIC_PIECES), \
     36    ../../../$(piece)/$(ARCH)/$(piece).rel)
     37LIB = $(ARCH)/libbsp.a
    2138
    2239#
     
    2441#
    2542
    26 DEFINES  +=
     43DEFINES +=
    2744CPPFLAGS +=
    28 CFLAGS   +=
     45CFLAGS +=
    2946
    30 LD_PATHS  +=
    31 LD_LIBS   +=
    32 LDFLAGS   +=
     47LD_PATHS +=
     48LD_LIBS +=
     49LDFLAGS +=
    3350
    3451#
     
    4562        $(make-library)
    4663
    47 all:    ${ARCH} $(SRCS) $(LIB)
    48         $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
     64all: ${ARCH} $(SRCS) $(LIB)
     65        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    4966
    50 install:  all
     67install: all
    5168
     69$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
     70        $(INSTALL_DATA) $< $@
     71
     72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
     73        cd $(top_builddir) \
     74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracChangeset for help on using the changeset viewer.