diff --git a/components/soc/component.mk b/components/soc/component.mk index 1c0f3d4218..6dfb407f1f 100644 --- a/components/soc/component.mk +++ b/components/soc/component.mk @@ -4,3 +4,5 @@ SOC_NAME := esp32 COMPONENT_SRCDIRS := $(SOC_NAME) src/ COMPONENT_ADD_INCLUDEDIRS := $(SOC_NAME)/include include + +-include $(COMPONENT_PATH)/$(SOC_NAME)/component.mk diff --git a/components/soc/esp32/component.mk b/components/soc/esp32/component.mk new file mode 100644 index 0000000000..83a2ef722e --- /dev/null +++ b/components/soc/esp32/component.mk @@ -0,0 +1 @@ +esp32/rtc_clk.o: CFLAGS += -fno-jump-tables -fno-tree-switch-conversion