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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [powerpc/] [motorola_powerpc/] [bootloader/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.12 2002/07/25 05:10:13 ralf Exp
3
##
4
 
5
## NOTE: This Makefile.am applies automake compilation rules and does not
6
## apply RTEMS's compilation rules.
7
 
8
AUTOMAKE_OPTIONS = no-exeext
9
 
10
VPATH = @srcdir@:@srcdir@/../../shared/bootloader:@srcdir@/../../shared/console
11
 
12
noinst_PROGRAMS = bootloader.o
13
 
14
## IMPORTANT: head.S must be first, T. Straumann 12/17/2001
15
bootloader_o_SOURCES = head.S exception.S em86real.S
16
bootloader_o_SOURCES += misc.c pci.c zlib.c mm.c em86.c polled_io.c lib.c
17
bootloader_o_SOURCES += bootldr.h zlib.h pci.h keyboard.h
18
 
19
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20
 
21
NM = @NM@
22
LD = @LD@
23
 
24
# ----
25
DEFAULT_INCLUDES =
26
 
27
AM_CPPFLAGS = -D__BOOT__ -DDEBUG
28
AM_CFLAGS = \
29
    $(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \
30
    -msoft-float -mstrict-align -fno-builtin -Wall -mmultiple \
31
    -mstring -O2 -fomit-frame-pointer -ffixed-r13 -mno-sdata \
32
    $(CPU_CFLAGS)
33
AM_CCASFLAGS = $(AM_CPPFLAGS) \
34
    $(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \
35
    -DASM $(CPU_CFLAGS)
36
 
37
#
38
# CAUTION :
39
#
40
# As we use very specific compilation options in this directory
41
# we shall not use any other code. This includes the newlib libc.a
42
# as well as other code located in .o files in mcp750 directory.
43
#
44
# NEVER remove lib.c. You have been warned...
45
#
46
bootloader.o: $(bootloader_o_OBJECTS)
47
        $(LD) -r -o $@ $(bootloader_o_OBJECTS)
48
        $(NM)  $@ | grep ' U '
49
        @echo "Every symbol listed should be defined in @srcdir@/ppcboot.lds"
50
 
51
ppcbootdir = $(bsplibdir)
52
ppcboot_DATA = bootloader.o
53
ppcboot_DATA += ../../shared/bootloader/ppcboot.lds
54
 
55
# FIXME: Tmp-install stuff to make mcp750.cfg's make-exe happy.
56
# As mcp750.cfg's make-exe doesn't work outside of the source-tree.
57
# We might consider to use this directory directly for in-source-tree
58
# building, instead.
59
$(PROJECT_RELEASE)/lib/%: %
60
        $(INSTALL_DATA) $< $@
61
 
62
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib/bootloader.o \
63
    $(PROJECT_RELEASE)/lib/ppcboot.lds
64
 
65
all-local: $(TMPINSTALL_FILES)
66
 
67
include $(top_srcdir)/../../../../../../automake/local.am

powered by: WebSVN 2.1.0

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