diff --git a/gnu/toolchain2netbsd b/gnu/toolchain2netbsd index bd5f409e3d64..5e69605f7946 100644 --- a/gnu/toolchain2netbsd +++ b/gnu/toolchain2netbsd @@ -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 @@ mkdir -p usr.bin/gdb/arch/$MACHINE_ARCH { 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 @@ for f in nm tm xm; do | 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}