5
Line | |
---|
1 | # |
---|
2 | # Shared base config file for QorIQ BSPs |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU = powerpc |
---|
8 | |
---|
9 | CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \ |
---|
10 | -mspe -mabi=spe -mfloat-gprs=double |
---|
11 | |
---|
12 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
13 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
14 | |
---|
15 | LDFLAGS = -Wl,--gc-sections |
---|
16 | |
---|
17 | # define bsp-post-link |
---|
18 | # $(OBJCOPY) -O binary '$@' '$(basename $@).bin' |
---|
19 | # gzip -f -9 '$(basename $@).bin' |
---|
20 | # mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img' |
---|
21 | # $(default-bsp-post-link) |
---|
22 | # endef |
---|
Note: See
TracBrowser
for help on using the repository browser.