Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu - get SIM_OBS for GDB.
details: https://anonhg.NetBSD.org/src/rev/e9de8a406f15
branches: trunk
changeset: 521048:e9de8a406f15
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jan 22 13:13:00 2002 +0000
description:
- get SIM_OBS for GDB.
- build a usr.bin/sim/arch tree, copy sim/ppc/config.h there for powerpc.
diffstat:
gnu/toolchain2netbsd | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 70e86a6c5199 -r e9de8a406f15 gnu/toolchain2netbsd
--- a/gnu/toolchain2netbsd Tue Jan 22 13:03:57 2002 +0000
+++ b/gnu/toolchain2netbsd Tue Jan 22 13:13:00 2002 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: toolchain2netbsd,v 1.13 2001/12/05 22:37:40 rafal Exp $
+# $NetBSD: toolchain2netbsd,v 1.14 2002/01/22 13:13:00 mrg Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/toolchain.
@@ -266,7 +266,7 @@
{
getvars gdb/Makefile \
- INTERNAL_CFLAGS LIBGDB_OBS
+ INTERNAL_CFLAGS LIBGDB_OBS SIM_OBJS
getvars readline/Makefile \
CCFLAGS OBJECTS
} | write_mk usr.bin/gdb/arch/$MACHINE_ARCH/defs.mk
@@ -284,4 +284,18 @@
| write_c usr.bin/gdb/arch/$MACHINE_ARCH/$f.h
done
+##### gnu/usr.bin/sim #####
+
+if [ -n `getvars gdb/Makefile SIM` ]; then
+ mkdir -p usr.bin/sim/arch/$MACHINE_ARCH
+
+ case $MACHINE_ARCH in
+ powerpc*)
+ write_c usr.bin/sim/arch/$MACHINE_ARCH/config.h <$_TMPDIR/sim/ppc/config.h
+ ;;
+ *)
+ ;;
+ esac
+fi
+
# -rm -rf ${_TMPDIR}
Home |
Main Index |
Thread Index |
Old Index