Minor update to fix parallel build
authorJustin Sobota <jsobota@ti.com>
Thu, 12 Nov 2015 23:31:08 +0000 (18:31 -0500)
committerJustin Sobota <jsobota@ti.com>
Thu, 12 Nov 2015 23:31:08 +0000 (18:31 -0500)
Signed-off-by: Justin Sobota <jsobota@ti.com>
build/buildlib.xs

index 2b22f5b49d3995a7ccd8dac56744a069595cc36a..837700e7251da6659da3b4245dd9949bc2c89d7c 100644 (file)
@@ -469,6 +469,8 @@ function buildLibrary (libOptions, libName, target, libFiles)
      * and don't want --jobs=# with # > 1 to result in collisions */
     var libFullName = lldFullLibraryPath + ".a" + target.suffix;
     var tempFile = libFullName + ".xml";
+    Pkg.makeEpilogue += ".libraries: " + libFullName +  "_size.txt\n";
+    Pkg.makeEpilogue += libFullName +  "_size.txt: " + libFullName + "\n";
         Pkg.makeEpilogue += "\n\t $(C6X_GEN_INSTALL_PATH)/bin/ofd6x -x " + libFullName + " > " + tempFile;
         Pkg.makeEpilogue += "\n\t $(SECTTI) " + tempFile + " > " + libFullName +  "_size.txt";
         Pkg.makeEpilogue += "\n\t $(RM) " + tempFile + "\n\n";