]> granicus.if.org Git - esp-idf/commit
build system: Refactor component.mk to not need component_common.mk
authorAngus Gratton <angus@espressif.com>
Thu, 10 Nov 2016 02:20:55 +0000 (13:20 +1100)
committerAngus Gratton <angus@espressif.com>
Thu, 10 Nov 2016 04:52:22 +0000 (15:52 +1100)
commit208e83def7839c0b317a37f54d9c46cfe91421ef
tree49d10143c42b5d61c7bd021c7495ddcf2a763f7b
parentf1938a909ae8fd94be5a4f97a6485a0206327aec
build system: Refactor component.mk to not need component_common.mk

New makefile component_wrapper.mk allows some variables to be set
before component.mk is evaluated. This properly fixes problems with
sdkconfig being hard to access in all phases of the build.

Including component_common.mk is no longer necessary and will print a
deprecation warning for components which use it.
31 files changed:
components/bootloader/Makefile.projbuild
components/bootloader/src/main/component.mk
components/bt/component.mk
components/driver/component.mk
components/esp32/component.mk
components/expat/component.mk
components/freertos/component.mk
components/json/component.mk
components/log/component.mk
components/lwip/component.mk
components/mbedtls/component.mk
components/newlib/component.mk
components/nghttp/component.mk
components/nvs_flash/component.mk
components/openssl/component.mk
components/spi_flash/component.mk
components/tcpip_adapter/component.mk
components/vfs/component.mk
components/wpa_supplicant/component.mk
components/xtensa-debug-module/component.mk
examples/01_hello_world/main/component.mk
examples/02_blink/main/component.mk
examples/03_http_request/main/component.mk
examples/04_https_request/main/component.mk
examples/05_ble_adv/main/component.mk
examples/06_sntp/main/component.mk
make/common.mk
make/component_common.mk
make/component_wrapper.mk [new file with mode: 0644]
make/project.mk
make/project_config.mk