esp-idf/components/ethernet/component.mk
suda-morris f14a6cf51b Ethernet peripheral will depend on IDF_TARGET
esp32 has EMAC controller, but esp32s2 doesn't
2019-06-11 13:06:32 +08:00

10 lines
133 B
Makefile

#
# Component Makefile
#
ifdef CONFIG_IDF_TARGET_ESP32
COMPONENT_SRCDIRS := . eth_phy
else
COMPONENT_CONFIG_ONLY := 1
endif