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:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # Config file for the PowerPC 745x based mvmexxxx |
---|
3 | # |
---|
4 | # |
---|
5 | |
---|
6 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
7 | |
---|
8 | RTEMS_CPU=powerpc |
---|
9 | RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
---|
10 | |
---|
11 | # This is the actual bsp directory used during the build process. |
---|
12 | RTEMS_BSP_FAMILY=beatnik |
---|
13 | |
---|
14 | # This contains the compiler options necessary to select the CPU model |
---|
15 | # and (hopefully) optimize for it. |
---|
16 | # |
---|
17 | CPU_CFLAGS = -mcpu=7400 -D__ppc_generic |
---|
18 | #T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi |
---|
19 | |
---|
20 | # optimize flag: typically -0, could use -O4 or -fast |
---|
21 | # -O4 is ok for RTEMS |
---|
22 | # NOTE: some level of -O may be actually required by inline assembler |
---|
23 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
24 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
25 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
26 | |
---|
27 | LDFLAGS = -Wl,--gc-sections |
---|
28 | |
---|
29 | # debug flags: typically none, but at least -O1 is required due to this |
---|
30 | # BSP using inlined code |
---|
31 | CFLAGS_DEBUG_V = -O1 -g |
---|
32 | |
---|
33 | define bsp-post-link |
---|
34 | $(default-bsp-post-link) |
---|
35 | $(OBJCOPY) -O binary $@ $(basename $@)$(DOWNEXT) |
---|
36 | endef |
---|
37 | |
---|
38 | # Miscellaneous additions go here |
---|
39 | START_BASE = motld_start |
---|
Note: See
TracBrowser
for help on using the repository browser.