[freenos] r392 committed - Added 'iso' target alias for building the x86/pc bootable ISO image.

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

Revision: 392
Author: nieklinnenbank
Date: Sun Oct 17 06:41:29 2010
Log: Added 'iso' target alias for building the x86/pc bootable ISO image.

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

Modified:
 /branches/scratch/system/x86/pc/SConscript

=======================================
--- /branches/scratch/system/x86/pc/SConscript  Sat Oct 16 19:56:53 2010
+++ /branches/scratch/system/x86/pc/SConscript  Sun Oct 17 06:41:29 2010
@@ -31,11 +31,14 @@
 #
 # Make a bootable LiveCD.
 #
-env.ISO('#${BUILDROOT}/boot.iso',
-      [ '#system/x86/pc/config/cd.img',
-        '#system/x86/pc/config/grub.cfg',
-        '#${BUILDROOT}/system/kernel',
-        '#${BUILDROOT}/boot.img' ])
+cd = env.ISO('#${BUILDROOT}/boot.iso',
+           [ '#system/x86/pc/config/cd.img',
+             '#system/x86/pc/config/grub.cfg',
+             '#${BUILDROOT}/system/kernel',
+             '#${BUILDROOT}/boot.img' ])
+
+# Shortcut to build the ISO.
+Alias('iso', cd)

 #
 # Register phony targets.

Other related posts:

  • » [freenos] r392 committed - Added 'iso' target alias for building the x86/pc bootable ISO image. - freenos