5
Last change
on this file since 4c83f292 was
4c83f292,
checked in by Sebastian Huber <sebastian.huber@…>, on 03/12/18 at 07:16:17
|
bsps: Remove unused RTEMS_CPU_MODEL
This patch is a part of the BSP source reorganization.
Update #3285.
|
-
Property mode set to
100644
|
File size:
733 bytes
|
Rev | Line | |
---|
[440274a9] | 1 | # |
---|
| 2 | # Config file for the NIOS2_EB2_1 BSP |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | # Choices for CPU_MODEL: |
---|
| 6 | # tiny (no cache) |
---|
| 7 | # standard (instruction cache) |
---|
| 8 | # fast (instruction and data cache) |
---|
| 9 | |
---|
| 10 | RTEMS_CPU = nios2 |
---|
| 11 | |
---|
| 12 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 13 | |
---|
| 14 | # This contains the compiler options necessary to select the CPU model |
---|
| 15 | # and (hopefully) optimize for it. |
---|
| 16 | CPU_CFLAGS = -mno-hw-mul -mno-hw-div |
---|
| 17 | |
---|
| 18 | # optimize flag: typically -O2 |
---|
| 19 | # ATM, doesn't work with optimization levels > 0 |
---|
| 20 | CFLAGS_OPTIMIZE_V = -O0 -g |
---|
[1909efdb] | 21 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
| 22 | |
---|
| 23 | LDFLAGS = -Wl,--gc-sections |
---|
[440274a9] | 24 | |
---|
| 25 | define bsp-post-link |
---|
[efdda565] | 26 | $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \ |
---|
[440274a9] | 27 | -R entry -R exceptions $(basename $@)$(DOWNEXT) |
---|
| 28 | $(default-bsp-post-link) |
---|
| 29 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.