mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-28 13:19:38 +01:00
Fix warnings where undefined vars are used. Make Kconfig emit "FOO=" for unset bool options To ensure make variables are always defined, even if empty. When writing auto.conf, include symbols disabled by dependency to make sure all make variables are always defined. Fixes espressif/esp-idf#137 Cherry-picked from https://github.com/espressif/esp-idf/pull/138
21 lines
404 B
Makefile
21 lines
404 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
ifeq ("$(CONFIG_AWS_IOT_SDK)","y")
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include aws-iot-device-sdk-embedded-C/include
|
|
|
|
COMPONENT_SRCDIRS := aws-iot-device-sdk-embedded-C/src port
|
|
|
|
# Check the submodule is initialised
|
|
COMPONENT_SUBMODULES := aws-iot-device-sdk-embedded-C
|
|
|
|
|
|
else
|
|
# Disable AWS IoT support
|
|
COMPONENT_ADD_INCLUDEDIRS :=
|
|
COMPONENT_ADD_LDFLAGS :=
|
|
COMPONENT_SRCDIRS :=
|
|
endif
|