Incorrect use of #ifdef in component.mk causes bootloader build flags for esp32 component, even for app builds

This commit is contained in:
Mark Webb-Johnson 2017-11-29 08:52:26 +08:00
parent 244fb94290
commit 5ae2c0d0ff

View file

@ -2,9 +2,9 @@
# Component Makefile # Component Makefile
# #
#ifdef IS_BOOTLOADER_BUILD ifdef IS_BOOTLOADER_BUILD
CFLAGS += -DBOOTLOADER_BUILD CFLAGS += -DBOOTLOADER_BUILD
#endif endif
COMPONENT_SRCDIRS := . hwcrypto COMPONENT_SRCDIRS := . hwcrypto
LIBS := core rtc LIBS := core rtc