kconfig: Add an option for skipping binary blobs

This commit is contained in:
Kedar Sovani 2017-08-10 10:46:36 +05:30
parent ba8cd58b08
commit 6405d6f874
2 changed files with 11 additions and 1 deletions

View File

@ -560,6 +560,14 @@ config ESP32_XTAL_FREQ
endmenu
config NO_BLOBS
bool "No Binary Blobs"
depends on !BT_ENABLED
default n
help
If enabled, this disables the linking of binary libraries in the application build. Note
that after enabling this Wi-Fi/Bluetooth will not work.
menu Wi-Fi
config SW_COEXIST_ENABLE

View File

@ -7,7 +7,9 @@ CFLAGS += -DBOOTLOADER_BUILD
#endif
COMPONENT_SRCDIRS := . hwcrypto
LIBS := core rtc net80211 pp wpa smartconfig coexist wps wpa2 phy coexist
ifndef CONFIG_NO_BLOBS
LIBS := core rtc net80211 pp wpa smartconfig coexist wps wpa2 phy
endif
LINKER_SCRIPTS += esp32.common.ld esp32.rom.ld esp32.peripherals.ld