summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/arm/imx/make/custom/imx7.cfg
blob: a93919e0ffab7829e2b072f9e925b65a8ab8e40f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                                                                      
include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU = arm

CPU_CFLAGS = -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a7

LDFLAGS = -Wl,--gc-sections

CFLAGS_OPTIMIZE_V ?= -O2 -g -ffunction-sections -fdata-sections

# define bsp-post-link
#   $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
#   gzip -f -9 '$(basename $@).bin'
#   mkimage -A arm -O linux -T kernel -a 0x80004000 -e 0x80004000 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
#   $(default-bsp-post-link)
# endef