mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-17 15:19:45 +08:00
23 lines
399 B
Makefile
23 lines
399 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
|
|
else
|
|
ifdef CONFIG_ENABLE_TH25Q16HB_PATCH_0
|
|
COMPONENT_SRCDIRS += src/patch
|
|
endif
|
|
endif
|