c8a0e2f4c6
This commit finalizes support for cross compilation. The tools directory are all links to the actual tools and are built on the host system to build Minix. build.sh is the work horse that takes care of all environment settings. It's slightly adjusted for Minix. The /usr/src/Makefile has additional targets needed for cross compilation.
16 lines
358 B
Makefile
16 lines
358 B
Makefile
# $NetBSD: Makefile,v 1.2 2006/10/27 22:36:23 uwe Exp $
|
|
#
|
|
|
|
GNUHOSTDIST= ${.CURDIR}/../../gnu/dist/gmake
|
|
|
|
CONFIGURE_ENV+= CC=${HOST_CC:Q} \
|
|
CFLAGS=${HOST_CFLAGS:Q} \
|
|
CPPFLAGS=${HOST_CPPFLAGS:Q} \
|
|
CXX=${HOST_CXX:Q}
|
|
|
|
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}g
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
.NOTPARALLEL:
|
|
|
|
.include "${.CURDIR}/../Makefile.gnuhost"
|