Changes coming in esp-idf build system & component.mk

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Changes coming in esp-idf build system & component.mk

Postby ESP_Angus » Mon Nov 14, 2016 4:52 am

Small heads-up: In a day or so esp-idf will be updated with some changes to the esp-idf build system. For anyone creating their own component.mk files, this means some things have changed.

The changes are backwards compatible, so you don't have to rush to update your components - but older components will output deprecation warnings during the build process.
  • The line "include $(IDF_PATH)/make/component_common.mk" is no longer required and can be removed.
  • Using "$(Q)" to avoid echoing commands when V=1 is not set is no longer required and can be removed.
The build system changes also include some performance tweaks, particularly for "partial builds" where only a few files have changed. You should particularly notice these on Windows (less make processes are forked, and emulating fork() on Windows is surprisingly intensive.)

Who is online

Users browsing this forum: No registered users and 354 guests