5
Last change
on this file since 6882be7 was
6882be7,
checked in by Sebastian Huber <sebastian.huber@…>, on 03/26/18 at 05:47:02
|
bsps/powerpc: Remove libcpu/powerpc
This patch is a part of the BSP source reorganization.
Update #3285.
|
-
Property mode set to
100644
|
File size:
707 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for a generic PowerPC 405 based card |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU=powerpc |
---|
8 | |
---|
9 | # This contains the compiler options necessary to select the CPU model |
---|
10 | # and (hopefully) optimize for it. |
---|
11 | # |
---|
12 | CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata=sysv -fno-common |
---|
13 | |
---|
14 | # optimize flag: typically -0, could use -O4 or -fast |
---|
15 | # -O4 is ok for RTEMS |
---|
16 | # NOTE: some level of -O may be actually required by inline assembler |
---|
17 | CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions |
---|
18 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
19 | |
---|
20 | LDFLAGS = -Wl,--gc-sections |
---|
21 | |
---|
22 | define bsp-post-link |
---|
23 | $(default-bsp-post-link) |
---|
24 | $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT) |
---|
25 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.