5
Last change
on this file since f004ace8 was
adb85dd,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08
|
bsps: Move make/custom/* files to bsps
Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.
This patch is a part of the BSP source reorganization.
Update #3285.
|
-
Property mode set to
100644
|
File size:
803 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for a PowerPC 405 based card |
---|
3 | # mhamel |
---|
4 | # |
---|
5 | |
---|
6 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
7 | |
---|
8 | RTEMS_CPU=powerpc |
---|
9 | |
---|
10 | # This contains the compiler options necessary to select the CPU model |
---|
11 | # and (hopefully) optimize for it. |
---|
12 | # |
---|
13 | CPU_CFLAGS = -mcpu=405 -Dppc405 |
---|
14 | |
---|
15 | # optimize flag: typically -0, could use -O4 or -fast |
---|
16 | # -O4 is ok for RTEMS |
---|
17 | # NOTE: some level of -O may be actually required by inline assembler |
---|
18 | CFLAGS_OPTIMIZE_V = -O1 -g |
---|
19 | |
---|
20 | # FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561. |
---|
21 | # The following two lines enable compiling and linking on per element. |
---|
22 | # CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
23 | # LDFLAGS = -Wl,--gc-sections |
---|
24 | |
---|
25 | define bsp-post-link |
---|
26 | $(default-bsp-post-link) |
---|
27 | $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
28 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.