]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fix one invalid change in 6be94743
authorYunhua Feng <yunhuax.feng@intel.com>
Wed, 25 Apr 2018 00:46:36 +0000 (08:46 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 26 Apr 2018 06:49:56 +0000 (14:49 +0800)
Roll back one change in 6be94743, it was updated incorrect.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/AutoGen/AutoGen.py

index 7b37dd256175e5e70a4f6217fa24f90cbec548b1..dc82075c5876e63a89120b7595c397444ec160ea 100644 (file)
@@ -3915,7 +3915,7 @@ class ModuleAutoGen(AutoGen):
             return\r
 \r
         # Skip the following code for modules without any binary files\r
             return\r
 \r
         # Skip the following code for modules without any binary files\r
-        if not self.BinaryFileList:\r
+        if self.BinaryFileList:\r
             return\r
             \r
         ### TODO: How to handles mixed source and binary modules\r
             return\r
             \r
         ### TODO: How to handles mixed source and binary modules\r