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