瀏覽代碼

Update SConscript

tangzz98 3 年之前
父節點
當前提交
29ff7e58a6
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      SConscript

+ 3 - 0
SConscript

@@ -6,6 +6,9 @@ cwd = GetCurrentDir()
 objs = []
 list = os.listdir(cwd)
 
+if (GetDepend(['PKG_USING_ESP_IDF'])):
+    Return('objs')
+
 for d in list:
     path = os.path.join(cwd, d)
     if os.path.isfile(os.path.join(path, 'SConscript')):