]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/Tools/GenCfgOpt.py
Update IntelFspPkg according to FSP1.1.
[mirror_edk2.git] / IntelFspPkg / Tools / GenCfgOpt.py
index 555099bbd29c4c4b26057fe73231842e78e9a309..06e426aa16bb8c86b5bf1a6aae3f267f52b28444 100644 (file)
@@ -1,6 +1,6 @@
 ## @ GenCfgOpt.py\r
 #\r
-# Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials are licensed and made available under\r
 # the terms and conditions of the BSD License that accompanies this distribution.\r
 # The full text of the license may be found at\r
@@ -254,9 +254,10 @@ EndList
                                     ElifStack[-1] = ElifStack[-1] + 1\r
                             else:\r
                                 if len(DscLine) > 0 and DscLine[0] == '!':\r
-                                    self.Error = "Invalid DscLine '%s'" % DscLine\r
-                                    Error = 3\r
-                                    break;\r
+                                                                   #\r
+                                                                   # Current it can only handle build switch.\r
+                                                                       # It does not support INF file in included dsc.\r
+                                                                       #\r
                                 else:\r
                                     if reduce(lambda x,y: x and y, IfStack):\r
                                         Handle = True\r