mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Skip empty __cores__ dir for project generator
This commit is contained in:
@ -177,9 +177,11 @@ def DumpIDEData(env):
|
||||
# ignore user's specified libs
|
||||
if name in env.get("LIB_IGNORE", []):
|
||||
continue
|
||||
if name == "__cores__" and isdir(join(libs_dir, name, BOARD_CORE)):
|
||||
return _append_lib_includes(
|
||||
join(libs_dir, name, BOARD_CORE), includes)
|
||||
if name == "__cores__":
|
||||
if isdir(join(libs_dir, name, BOARD_CORE)):
|
||||
_append_lib_includes(
|
||||
join(libs_dir, name, BOARD_CORE), includes)
|
||||
return
|
||||
|
||||
include = (
|
||||
join(libs_dir, name, "src")
|
||||
|
Reference in New Issue
Block a user