source: rtems/c/src/lib/libbsp/powerpc/mcp750/bootloader/Makefile.in @ 08b5f55

4.104.114.84.95
Last change on this file since 08b5f55 was 08b5f55, checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 20:31:49

Patch from Ralf Corsepius <corsepiu@…>:

A bug in acpolish made it into rtems-rc-19990709-0.diff, which
unfortunately affects all Makefile.ins:

  • The maintainer mode conditional was erroniously applied to the dependencies of "Makefile".

In case you already checked in rtems-rc-19990709-0.diff to CVS you have
to check in all Makefile.ins again after applying the patch below :).

Please apply the patch below as follows:

patch -p1 < rtems-rc-19990709-1.diff
tools/update/rtems-polish.sh -ac

Note: There is no need to rerun your tests if you have used
--enable-maintainer-mode to configure RTEMS, because this patch converts
all Makefile.ins to the same settings as used for
--enable-maintainer-mode.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../..
9subdir = libbsp/powerpc/mcp750/bootloader
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@:@srcdir@/../../../shared:@srcdir@/../console
15
16# C source names, if any, go here -- minus the .c
17C_PIECES = misc pci zlib mm em86 polled_io lib
18C_FILES = $(C_PIECES:%=%.c)
19C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
20
21H_FILES = bootldr.h zlib.h pci.h
22
23# Assembly source names, if any, go here -- minus the .s
24S_PIECES = head exception em86real
25S_FILES = $(S_PIECES:%=%.S)
26S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
27
28SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
29OBJS = $(S_O_FILES) $(C_O_FILES)
30
31include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
32include $(RTEMS_ROOT)/make/leaf.cfg
33
34INSTALL_CHANGE = @INSTALL_CHANGE@
35
36CC_PIECES =
37CC_FILES = $(CC_PIECES:%=%.cc)
38CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o)
39
40#
41# (OPTIONAL) Add local stuff here using +=
42#
43
44DEFINES +=
45CPPFLAGS += -D__BOOT__ -DDEBUG
46CFLAGS += -msoft-float -mstrict-align -fno-builtin -Wall -mmultiple -mstring \
47    -O2 -fomit-frame-pointer -mrelocatable -ffixed-r13 -mno-sdata -D__BOOT__ \
48    -DDEBUG
49
50ASFLAGS += -mrelocatable
51
52LD_PATHS +=
53LD_LIBS +=
54LDFLAGS +=
55
56IMAGES : = rtems.gz
57
58#
59# Add your list of files to delete here.  The config files
60#  already know how to delete some stuff, so you may want
61
62#  to just run 'make clean' first to see what gets missed.
63#  'make clobber' already includes 'make clean'
64#
65
66CLEAN_ADDITIONS += bootloader reloc.O
67CLOBBER_ADDITIONS += $(IMAGES)
68
69#
70# CAUTION :
71#
72# As we use very specific compilation options in this directory
73# we shall not use any other code. This includes the newlib libc.a
74# as well as other code located in .o files in mcp750 directory.
75#
76# NEVER remove lib.c. You have been warned...
77#
78bootloader : ${OBJS} $(IMAGES) $(BINARY_LOADED) ppcboot.lds
79        $(LD) -o bootloader $(OBJS) --just-symbols=$(BINARY_LOADED) \
80        -b binary $(IMAGES) -T @srcdir@/ppcboot.lds \
81         -Map bootloader.map
82
83check_unresolved : ${OBJS}
84        $(LD) -r -o reloc.O ${OBJS}
85        $(NM) reloc.O |grep ' U '
86        echo "Every symbol listed should be defined in @srcdir@/ppcboot.lds"
87
88rtems.gz: $(BINARY_LOADED)
89        $(OBJCOPY)  $(BINARY_LOADED) rtems -O binary -R .comment -S
90        gzip -vf9 rtems
91        rm -f rtems
92
93all: ${ARCH} $(SRCS) ${OBJ}
94
95Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
96        cd $(top_builddir) \
97         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.