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

16 lines
437 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...
2001-01-04 11:39:53 +03:00
CFLAGS="-D__NetBSD__"
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 \
2001-01-04 11:55:08 +03:00
CXX=$TARGET-c++ $*