Source-Changes-HG archive

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

[src/trunk]: src/tools/gdb put gnulib stuff under gnulib/ because things impo...



details:   https://anonhg.NetBSD.org/src/rev/002a04cd6f49
branches:  trunk
changeset: 938870:002a04cd6f49
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 17 16:54:31 2020 +0000

description:
put gnulib stuff under gnulib/ because things import "gnulib/config.h"

diffstat:

 tools/gdb/mknative-gdb |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r d6054ae62e91 -r 002a04cd6f49 tools/gdb/mknative-gdb
--- a/tools/gdb/mknative-gdb    Thu Sep 17 16:45:35 2020 +0000
+++ b/tools/gdb/mknative-gdb    Thu Sep 17 16:54:31 2020 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gdb,v 1.11 2020/09/17 16:09:18 christos Exp $
+#      $NetBSD: mknative-gdb,v 1.12 2020/09/17 16:54:31 christos Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/external/gpl3/gdb
@@ -126,7 +126,7 @@
 
 get_gdb_libgnulib () {
        local _GNULIB=$_GDB/lib/libgnulib
-       mkdir -p $_TOP/$_GNULIB/arch/$_MACHINE_SUBDIR/import
+       mkdir -p $_TOP/$_GNULIB/arch/$_MACHINE_SUBDIR/gnulib/import
 
        (getvars gnulib/Makefile gl_LIBOBJS |
        sed -e s/gl_LIB// &&
@@ -146,7 +146,7 @@
            import/unistd.h import/wchar.h \
            import/wctype.h
        do
-           write_c $_GNULIB/arch/$_MACHINE_SUBDIR/$i \
+           write_c $_GNULIB/arch/$_MACHINE_SUBDIR/gnulib/$i \
                < $_TMPDIR/gnulib/$i
        done
 }



Home | Main Index | Thread Index | Old Index