|
@@ -14,10 +14,10 @@ COMPONENT_ADD_LDFLAGS := -L $(COMPONENT_PATH) -lmain $(addprefix -T ,$(LINKER_SC
|
|
|
|
|
|
|
|
COMPONENT_ADD_LINKER_DEPS := $(LINKER_SCRIPTS)
|
|
COMPONENT_ADD_LINKER_DEPS := $(LINKER_SCRIPTS)
|
|
|
|
|
|
|
|
-ifdef IS_BOOTLOADER_BUILD
|
|
|
|
|
# following lines are a workaround to link librtc into the
|
|
# following lines are a workaround to link librtc into the
|
|
|
# bootloader, until clock setting code is in a source-based esp-idf
|
|
# bootloader, until clock setting code is in a source-based esp-idf
|
|
|
# component. See also rtc_printf() in bootloader_start.c
|
|
# component. See also rtc_printf() in bootloader_start.c
|
|
|
|
|
+#
|
|
|
|
|
+# See also matching COMPONENT_SUBMODULES line in Makefile.projbuild
|
|
|
COMPONENT_ADD_LDFLAGS += -L $(IDF_PATH)/components/esp32/lib/ -lrtc_clk -lrtc
|
|
COMPONENT_ADD_LDFLAGS += -L $(IDF_PATH)/components/esp32/lib/ -lrtc_clk -lrtc
|
|
|
COMPONENT_EXTRA_INCLUDES += $(IDF_PATH)/components/esp32/
|
|
COMPONENT_EXTRA_INCLUDES += $(IDF_PATH)/components/esp32/
|
|
|
-endif
|
|
|