diff options
-rw-r--r-- | Tools/Conf/BuildMacro.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml index 5c467b5ce6..71c8f9b85a 100644 --- a/Tools/Conf/BuildMacro.xml +++ b/Tools/Conf/BuildMacro.xml @@ -540,6 +540,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. <var name="FILE_PATH" value="." />
<mkdir dir="${BIN_DIR}"/>
+ <if>
+ <equals arg1="${OBJECTS}" arg2="" trim="true"/>
+ <then>
+ <fail message="No object files"/>
+ </then>
+ </if>
+
<OnDependency>
<sourcefiles>
<fileset dir="${DEST_DIR_OUTPUT}" includes="${OBJECTS}" />
|