Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded set src= before pulling in host config



details:   https://anonhg.NetBSD.org/src/rev/a53901d46255
branches:  trunk
changeset: 784828:a53901d46255
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Feb 10 21:51:05 2013 +0000

description:
set src= before pulling in host config

diffstat:

 distrib/utils/embedded/mkimage |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r ad693bb86e94 -r a53901d46255 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Sun Feb 10 21:36:31 2013 +0000
+++ b/distrib/utils/embedded/mkimage    Sun Feb 10 21:51:05 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkimage,v 1.31 2013/02/10 16:56:38 jmcneill Exp $
+# $NetBSD: mkimage,v 1.32 2013/02/10 21:51:05 jmcneill Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -71,12 +71,13 @@
        exit 1
 }
 
-# First pass for options to get the host
+# First pass for options to get the host and src directories
 OPTS="K:D:S:c:h:s:x"
 while getopts "$OPTS" f
 do
        case $f in
        h)      h="$OPTARG";;
+       S)      src="$OPTARG";;
        *)      ;;
        esac
 done
@@ -102,7 +103,7 @@
        case $f in
        D)      release="$OPTARG";;
        K)      kernel="$OPTARG";;
-       S)      src="$OPTARG";;
+       S)      ;;
        c)      custom="$OPTARG";;
        h)      ;;
        s)      size="$OPTARG";;



Home | Main Index | Thread Index | Old Index