libiberty/config.h needs to become per-arch.
This commit is contained in:
parent
63452158ba
commit
ad744ff2f6
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $NetBSD: mknative-gcc,v 1.3 2003/07/28 02:35:43 mrg Exp $
|
||||
# $NetBSD: mknative-gcc,v 1.4 2003/07/30 05:06:28 mrg Exp $
|
||||
#
|
||||
# Shell script for generating all the constants needed for a native
|
||||
# platform build of src/gnu/dist/toolchain.
|
||||
@ -82,9 +82,11 @@ get_libg2c () {
|
||||
##### gnu/lib/libgcc #####
|
||||
|
||||
get_libgcc () {
|
||||
mkdir -p $_TOP/gnu/usr.bin/gcc3/arch/$MACHINE_ARCH $_TOP/gnu/lib/libgcc3
|
||||
mkdir -p $_TOP/gnu/lib/libgcc3
|
||||
|
||||
# DPBIT, FPBIT only used on mn10[23]00, we don't need them.
|
||||
# XXX we should probably grab everything Just In Case for
|
||||
# the future.
|
||||
getvars gcc/Makefile \
|
||||
CXX_EXTRA_HEADERS CXX_LIB2FUNCS CXX_LIB2SRCS \
|
||||
INCLUDES LIB2ADD LIB2ADDEH LIB2FUNCS_1 LIB2FUNCS_2 \
|
||||
@ -97,13 +99,13 @@ get_libgcc () {
|
||||
##### gnu/usr.bin/gcc3/libiberty #####
|
||||
|
||||
get_gcc3_libiberty () {
|
||||
mkdir -p $_TOP/gnu/usr.bin/gcc3/libiberty
|
||||
mkdir -p $_TOP/gnu/usr.bin/gcc3/libiberty/arch/$MACHINE_ARCH
|
||||
|
||||
getvars libiberty/Makefile \
|
||||
ALLOCA EXTRA_OFILES LIBOBJS REQUIRED_OFILES \
|
||||
| write_mk gnu/usr.bin/gcc3/libiberty/defs.mk
|
||||
|
||||
write_c gnu/usr.bin/gcc3/libiberty/config.h \
|
||||
write_c gnu/usr.bin/gcc3/libiberty/arch/$MACHNIE_ARCH/config.h \
|
||||
<$_TMPDIR/libiberty/config.h
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user