| 1 |
|
| 2 |
|
| 3 |
include ../../scripts/noos.mk |
| 4 |
|
| 5 |
M_SOPCINFO_FILE := $(HDL-DIR)/projects/adrv9371x/a10gx/system_bd.sopcinfo |
| 6 |
M_SOF_FILE := adrv9371x_a10gx.sof |
| 7 |
|
| 8 |
include $(NOOS-DIR)/adrv9371x/adrv9371x.mk |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
M_HDR_FILES += bsp/linker_modified.h |
| 13 |
|
| 14 |
.PHONY: default |
| 15 |
default: all |
| 16 |
|
| 17 |
bsp/linker_modified.h: bsp/system.h |
| 18 |
cp bsp/linker.x bsp/linker_original.x |
| 19 |
sed -i 's/SIZEOF (.rodata)+ SIZEOF (.rwdata)/SIZEOF (.rodata)/' bsp/linker.x |
| 20 |
touch bsp/linker_modified.h |
| 21 |
|
| 22 |
include $(NOOS-DIR)/scripts/nios_ii.mk |
| 23 |
|