ia64/xen-unstable

diff netbsd-2.0-xen-sparse/nbmake-xen @ 2840:076976533990

bitkeeper revision 1.1159.152.3 (418897a4CxX9i8wXDd9o1ZAah8MBmQ)

Fix parallel make problems (some rules had multiple dependencies which
themselves were inter-dependent).
Fix netbsd build when 'uname -i' is unavailable -- default to i386.
author kaf24@freefall.cl.cam.ac.uk
date Wed Nov 03 08:32:36 2004 +0000 (2004-11-03)
parents ab0042a6d724
children 3500fed096b1
line diff
     1.1 --- a/netbsd-2.0-xen-sparse/nbmake-xen	Wed Nov 03 07:44:28 2004 +0000
     1.2 +++ b/netbsd-2.0-xen-sparse/nbmake-xen	Wed Nov 03 08:32:36 2004 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4  #
     1.5  
     1.6  : ${HOS:=$(uname -s | tr /A-Z/ /a-z/)}
     1.7 -: ${HARCH:=$(uname -i)}
     1.8 +: ${HARCH:=$(uname -i 2>/dev/null || echo i386)}
     1.9  : ${NETBSD_RELEASE:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+\).*/\1/')}
    1.10  : ${NETBSD_VERSION:=$(basename $(cd $(dirname $0) && pwd) | sed 's/netbsd-\([0-9]\+\.[0-9]\+.*\)-xen.*/\1/')}
    1.11  : ${TOPDIR:=$(cd $(dirname $0) && pwd | sed 's/\(netbsd-[0-9]\+\.[0-9]\+.*-xen[^/]*\)/\1/')}