4.104.114.84.95
Line | |
---|
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 | RTEMS_CPU_MODEL = economy |
---|
12 | |
---|
13 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
14 | |
---|
15 | # This is the actual bsp directory used during the build process. |
---|
16 | RTEMS_BSP_FAMILY = nios2_iss |
---|
17 | |
---|
18 | # This contains the compiler options necessary to select the CPU model |
---|
19 | # and (hopefully) optimize for it. |
---|
20 | CPU_CFLAGS = -mno-hw-mul -mno-hw-div |
---|
21 | |
---|
22 | # optimize flag: typically -O2 |
---|
23 | # ATM, doesn't work with optimization levels > 0 |
---|
24 | CFLAGS_OPTIMIZE_V = -g -O0 |
---|
25 | |
---|
26 | # The following are definitions of make-exe which will work using ld as |
---|
27 | # is currently required. |
---|
28 | |
---|
29 | define make-exe |
---|
30 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
---|
31 | $(LINK_OBJS) $(LINK_LIBS) |
---|
32 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe -R entry -R exceptions $@ |
---|
33 | $(SIZE) $(basename $@).nxe |
---|
34 | endef |
---|
35 | define make-cxx-exe |
---|
36 | $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
---|
37 | $(LINK_OBJS) $(LINK_LIBS) |
---|
38 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe -R entry -R exceptions $@ |
---|
39 | $(SIZE) $(basename $@).nxe |
---|
40 | endef |
---|
41 | |
---|
42 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.