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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [mips64orion/] [p4000/] [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:25 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
BSP_FILES = startup console liblnk
8
CPU_FILES = clock timer
9
 
10
# bummer; have to use $foreach since % pattern subst rules only replace 1x
11
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
12
    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
13
LIB = $(ARCH)/libbsp.a
14
 
15
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16
include $(top_srcdir)/../../../../../../automake/lib.am
17
 
18
#
19
# (OPTIONAL) Add local stuff here using +=
20
#
21
 
22
$(LIB): $(OBJS)
23
        $(make-library)
24
 
25
$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
26
        $(INSTALL_DATA) $< $@
27
 
28
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
29
 
30
all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
31
 
32
.PRECIOUS: $(LIB)
33
 
34
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.