change(esptool_py): hide serial flasher menu on linux target

The linux host_test target has no real flash, so the "Serial flasher
config" menu's options are meaningless there. Gate the menu on
!IDF_TARGET_LINUX so its symbols stay undefined on linux.
This commit is contained in:
Sudeep Mohanty
2026-05-26 13:10:41 +02:00
parent 56b2414dee
commit 2e2c5d1bf2
+1 -1
View File
@@ -1,5 +1,5 @@
menu "Serial flasher config"
depends on !APP_BUILD_TYPE_PURE_RAM_APP
depends on !APP_BUILD_TYPE_PURE_RAM_APP && !IDF_TARGET_LINUX
config ESPTOOLPY_NO_STUB
bool "Disable download stub"