forked from platformio/platformio-core
Skip empty __cores__ dir for project generator
This commit is contained in:
1 parent
04cd772f0d
commit
e6745de8d8
1 file changed
+5
-3
@@ -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