build system: Fix bug where component src subdirs needed listing before parent source dirs

Triggered on make 3.81, happens sometimes on Linux and always(?) on macOS. May depend on the order the OS' filesystem
resolves wildcards in.

Includes a revert to the LWIP component to verify this is properly fixed.

See also https://github.com/espressif/esp-idf/issues/632
This commit is contained in:
Angus Gratton
2017-05-22 11:44:41 +10:00
committed by Angus Gratton
parent 1ddf40feb7
commit 99771a255f
2 changed files with 15 additions and 7 deletions

View File

@@ -14,8 +14,8 @@ endif
COMPONENT_SRCDIRS := \
api \
apps/sntp apps/ping apps \
core/ipv4 core/ipv6 core \
apps apps/sntp apps/ping \
core core/ipv4 core/ipv6 \
$(LWIP_PPP_DIRS) netif \
port/freertos port/netif port/debug port