move the GDB_MACHINE_ARCH setting into a separate file so tools can
access it. modify it such that it's "arm" or "armeb" for all arm, but only in new gdb, not gdb.old (avoid changing gdb.old as much as possible now.)
This commit is contained in:
parent
47f5dba6de
commit
b0273061d2
3
external/gpl3/gdb.old/Makefile.gdb_arch
vendored
Normal file
3
external/gpl3/gdb.old/Makefile.gdb_arch
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD#
|
||||
|
||||
GDB_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
|
4
external/gpl3/gdb.old/Makefile.inc
vendored
4
external/gpl3/gdb.old/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.7 2016/10/12 15:36:05 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.8 2016/10/16 04:36:51 mrg Exp $
|
||||
|
||||
USE_LIBEDIT=no
|
||||
USE_TUI=yes
|
||||
@ -6,7 +6,7 @@ BINDIR=/usr/bin
|
||||
WARNS?= 0
|
||||
CPPFLAGS+= -D_KERNTYPES
|
||||
|
||||
GDB_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
|
||||
.include "Makefile.gdb_arch"
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value -Wno-conversion \
|
||||
-Wno-switch-enum -Wno-parentheses -Wno-comment \
|
||||
|
3
external/gpl3/gdb/Makefile.gdb_arch
vendored
Normal file
3
external/gpl3/gdb/Makefile.gdb_arch
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# $NetBSD#
|
||||
|
||||
GDB_MACHINE_ARCH= ${MACHINE_ARCH:C/^e//:C/e?armv[4-7]h?f?/arm/}
|
4
external/gpl3/gdb/Makefile.inc
vendored
4
external/gpl3/gdb/Makefile.inc
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.10 2016/01/23 23:02:31 christos Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.11 2016/10/16 04:36:52 mrg Exp $
|
||||
|
||||
USE_LIBEDIT=no
|
||||
USE_TUI=yes
|
||||
@ -6,7 +6,7 @@ BINDIR=/usr/bin
|
||||
WARNS?= 0
|
||||
CPPFLAGS+= -D_KERNTYPES
|
||||
|
||||
GDB_MACHINE_ARCH= ${MACHINE_ARCH:C/armv[4-7]/arm/}
|
||||
.include "Makefile.gdb_arch"
|
||||
|
||||
CWARNFLAGS.clang+= -Wno-unused-value -Wno-conversion \
|
||||
-Wno-switch-enum -Wno-parentheses -Wno-comment \
|
||||
|
Loading…
Reference in New Issue
Block a user