OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [eth_comm/] [wrapup/] [Makefile.am] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:00:36 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
# We only build the networking device driver if HAS_NETWORKING was defined
8
if HAS_NETWORKING
9
NETWORKING = network
10
endif
11
 
12
BSP_PIECES = startup start canbus console $(NETWORKING)
13
# pieces to pick up out of libcpu/ppc
14
# CPU_PIECES = mpc860/clock mpc860/timer mpc860/console-generic \
15
#    mpc860/vectors
16
 
17
# bummer; have to use $foreach since % pattern subst rules only replace 1x
18
OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o))
19
LIB = $(ARCH)/libbsp.a
20
 
21
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22
include $(top_srcdir)/../../../../../../automake/lib.am
23
 
24
#
25
# (OPTIONAL) Add local stuff here using +=
26
#
27
 
28
$(LIB): $(OBJS)
29
        $(make-library)
30
 
31
$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
32
        $(INSTALL_DATA) $< $@
33
 
34
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
35
 
36
all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
37
 
38
.PRECIOUS: $(LIB)
39
 
40
include $(top_srcdir)/../../../../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.