Kaynağa Gözat

Update SConscript

tangzz98 3 yıl önce
ebeveyn
işleme
29ff7e58a6
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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')):