Source-Changes-HG archive

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

[src/trunk]: src/tools/gdb mkdir the proper sim dirs!



details:   https://anonhg.NetBSD.org/src/rev/8236905c5d1a
branches:  trunk
changeset: 771056:8236905c5d1a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 06 19:46:12 2011 +0000

description:
mkdir the proper sim dirs!

diffstat:

 tools/gdb/mknative-gdb |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 93d4dae58056 -r 8236905c5d1a tools/gdb/mknative-gdb
--- a/tools/gdb/mknative-gdb    Sun Nov 06 19:45:37 2011 +0000
+++ b/tools/gdb/mknative-gdb    Sun Nov 06 19:46:12 2011 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gdb,v 1.4 2011/10/09 02:03:30 christos Exp $
+#      $NetBSD: mknative-gdb,v 1.5 2011/11/06 19:46:12 christos Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/external/gpl3/gdb
@@ -127,7 +127,7 @@
        local _LIBSIM=$_GDB/lib/libsim
        case $MACHINE_ARCH in
        powerpc*)
-               mkdir -p $_LIBSIM/arch/$MACHINE_ARCH
+               mkdir -p $_TOP/$_LIBSIM/arch/$MACHINE_ARCH
                write_c $_LIBSIM/arch/$MACHINE_ARCH/config.h \
                        <$_TMPDIR/sim/ppc/config.h
                write_c $_LIBSIM/arch/$MACHINE_ARCH/build-config.h \
@@ -135,8 +135,8 @@
                write_c $_LIBSIM/arch/$MACHINE_ARCH/cconfig.h \
                        <$_TMPDIR/sim/common/cconfig.h
                ;;
-       xxmips*)
-               mkdir -p $_LIBSIM/arch/$MACHINE_ARCH
+       xxmips*)        # Disabled for now
+               mkdir -p $_TOP/$_LIBSIM/arch/$MACHINE_ARCH
                write_c $_LIBSIM/arch/$MACHINE_ARCH/config.h \
                        <$_TMPDIR/sim/mips/config.h
                write_c $_LIBSIM/arch/$MACHINE_ARCH/cconfig.h \



Home | Main Index | Thread Index | Old Index