NetBSD/sys/arch/sh3/conf/build-sh3.el

16 lines
456 B
EmacsLisp
Raw Normal View History

#! /bin/sh
# just helping for cross compilation.
MACHINE=evbsh3
2001-01-04 10:50:23 +03:00
MACHINE_ARCH=sh3el
# just in case you forgot to specify this when you built gcc...
CFLAGS="-D__NetBSD__ -v"
export MACHINE MACHINE_ARCH CFLAGS
2001-01-04 10:51:50 +03:00
TARGET=/usr/pkg/cross/bin/shel-netbsdcoff
make AR=$TARGET-ar AS=$TARGET-as CC=$TARGET-gcc LD=$TARGET-ld NM=$TARGET-nm \
RANLIB=$TARGET-ranlib SIZE=$TARGET-size \
STRIP=$TARGET-strip OBJCOPY=$TARGET-objcopy \
1999-09-13 19:50:01 +04:00
CPP=$TARGET-cpp CXX=$TARGET-c++ $*