Files
dongheng 301d857988 feat(esp8266): supports "make size" and its family function
1. support "make size", "make size-files", "make size-components" and "make size-symbols"
2. add esp-idf style link file including "esp8266.ld" and "esp8266.project.ld.in"
3. add link advaced generation file to components of esp8266 and spi_flash
2019-08-05 17:20:29 +08:00

19 lines
319 B
Makefile

#
# Component Makefile
#
COMPONENT_SRCDIRS := src
ifdef IS_BOOTLOADER_BUILD
COMPONENT_OBJS := src/spi_flash.o src/spi_flash_raw.o
endif
COMPONENT_ADD_LDFRAGMENTS += linker.lf
CFLAGS += -DPARTITION_QUEUE_HEADER=\"sys/queue.h\"
ifdef IS_BOOTLOADER_BUILD
COMPONENT_SRCDIRS += port
COMPONENT_OBJS += port/port.o
endif