#\r
# Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>\r
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2018, Hewlett Packard Enterprise Development, L.P.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
\r
# genfds\r
if Target == 'fds':\r
- GenFdsApi(AutoGenObject.GenFdsCommandDict, self.Db)\r
+ if GenFdsApi(AutoGenObject.GenFdsCommandDict, self.Db):\r
+ EdkLogger.error("build", COMMAND_FAILURE)\r
return True\r
\r
# run\r
# Generate FD image if there's a FDF file found\r
#\r
GenFdsStart = time.time()\r
- GenFdsApi(Wa.GenFdsCommandDict, self.Db)\r
+ if GenFdsApi(Wa.GenFdsCommandDict, self.Db):\r
+ EdkLogger.error("build", COMMAND_FAILURE)\r
\r
#\r
# Create MAP file for all platform FVs after GenFds.\r