5
Last change
on this file since 499385e 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:
856 bytes
|
Rev | Line | |
---|
[ea781bbc] | 1 | # |
---|
| 2 | # Config file for the PowerPC 604 based mvme2307 |
---|
| 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 |
---|
[45e5623] | 10 | # and (hopefully) optimize for it. |
---|
[ea781bbc] | 11 | # |
---|
[45e5623] | 12 | CPU_CFLAGS = -mcpu=604 -mmultiple -mstring -mstrict-align -meabi |
---|
[ea781bbc] | 13 | |
---|
| 14 | # optimize flag: typically -O2 |
---|
| 15 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
[45e5623] | 16 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
| 17 | |
---|
| 18 | LDFLAGS = -Wl,--gc-sections |
---|
[ea781bbc] | 19 | |
---|
| 20 | define bsp-post-link |
---|
| 21 | $(default-bsp-post-link) |
---|
[efdda565] | 22 | $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems |
---|
[ea781bbc] | 23 | gzip -vf9 rtems |
---|
| 24 | $(LD) -o $(basename $@)$(DOWNEXT) $(PROJECT_RELEASE)/lib/bootloader.o \ |
---|
[efdda565] | 25 | --just-symbols=$(basename $@)$(EXEEXT) \ |
---|
[7203b70] | 26 | --no-warn-mismatch \ |
---|
[ea781bbc] | 27 | -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \ |
---|
| 28 | -Map $(basename $@).map && chmod 755 $@ |
---|
| 29 | rm -f rtems.gz |
---|
| 30 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.