[freenos] r393 committed - Added dependency on mkimage for the BootImage() builder.

  • From: freenos@xxxxxxxxxxxxxx
  • To: freenos@xxxxxxxxxxxxx
  • Date: Sun, 17 Oct 2010 13:47:04 +0000

Revision: 393
Author: nieklinnenbank
Date: Sun Oct 17 06:45:53 2010
Log: Added dependency on mkimage for the BootImage() builder.

http://code.google.com/p/freenos/source/detail?r=393

Modified:
 /branches/scratch/site_scons/bootimage.py

=======================================
--- /branches/scratch/site_scons/bootimage.py   Sat Oct 16 18:53:39 2010
+++ /branches/scratch/site_scons/bootimage.py   Sun Oct 17 06:45:53 2010
@@ -16,6 +16,7 @@
 #

 import os
+import build

 #
 # Modifies the dependency list by parsing boot image config.
@@ -39,6 +40,9 @@
        # Make us depend on the program.
        source.append('#' + env['BUILDROOT'] + '/' + line.strip())

+    # We also depend on the mkimage utility.
+    source.append('#' + build.host['BUILDROOT'] + '/bin/mkimage')
+
     # All done.
     f.close()
     return target, source

Other related posts:

  • » [freenos] r393 committed - Added dependency on mkimage for the BootImage() builder. - freenos