mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-28 21:48:05 +08:00

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
19 lines
319 B
Makefile
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
|