aboutsummaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-10-20 15:48:58 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-10-21 14:43:38 +1100
commit8df211778915b4b26bc368ec4505133a9777d879 (patch)
tree1789242f599ce3fd7bdf076f0425301c3468b912 /external
parent120efaa2b1655cb6aad81680962198f91ee90405 (diff)
downloadskiboot-8df211778915b4b26bc368ec4505133a9777d879.zip
skiboot-8df211778915b4b26bc368ec4505133a9777d879.tar.gz
skiboot-8df211778915b4b26bc368ec4505133a9777d879.tar.bz2
mambo: Use alternate skiboot.lid with SKIBOOT
Make it possible to use an alternate skiboot.lid by setting the SKIBOOT environment variable. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r--external/mambo/skiboot.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 2d14be6..cfae489 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -17,6 +17,9 @@ mconfig stop_on_ill MAMBO_STOP_ON_ILL false
# Location of application binary to load
mconfig boot_image SKIBOOT ../../skiboot.lid
+if { [info exists env(SKIBOOT)] } {
+ mconfig boot_image SKIBOOT env(SKIBOOT)
+}
# Boot: Memory location to load boot_image, for binary or vmlinux
mconfig boot_load MAMBO_BOOT_LOAD 0