e3209ae766
This decreases external dependencies for crosscompilation. Note that these libraries are not built nor used by Minix itself. Furthermore, the shell scripts that download the tarballs for these libraries, gcc, binutils, and gmake now also support curl in addition to wget.
19 lines
598 B
Text
19 lines
598 B
Text
# $NetBSD: Makefile.netbsd-gmp,v 1.1 2011/10/30 01:50:32 mrg Exp $
|
|
|
|
# hack makefile to help build gmp ./configure
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
|
|
|
|
TARGET=hppa-netbsd
|
|
#TARGET=mips64el-netbsd
|
|
ENV_ARGS=\
|
|
CC=${CC:Q}' '${CCADDFLAGS:Q} \
|
|
CPP=${CPP:Q}' '-I${DESTDIR}/usr/include \
|
|
AS=${AS:Q} AWK=${TOOL_AWK:Q} LD=${LD:Q} \
|
|
NM=${NM:Q} OBJDUMP=${OBJDUMP:Q} \
|
|
LIBS=-lintl
|
|
|
|
all:
|
|
env ${ENV_ARGS} /usr/src3/external/lgpl3/gmp/dist/configure --host=${TARGET} --target=${TARGET}
|