mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
10 lines
297 B
Makefile
10 lines
297 B
Makefile
# Submodules normally added in component.mk, but fully qualified
|
|
# paths can be added at this level (we need binary librtc to be
|
|
# available to link bootloader).
|
|
COMPONENT_SUBMODULES += $(IDF_PATH)/components/esp32/lib
|
|
|
|
ifdef CONFIG_BOOTLOADER_LTO
|
|
CFLAGS += -flto
|
|
EXTRA_LDFLAGS += -Wl,-flto
|
|
endif
|