Build file cross compilation tool
This commit is contained in:
parent
966cbef4fd
commit
891c812cba
2 changed files with 20 additions and 1 deletions
|
@ -15,7 +15,7 @@ SUBDIR= host-mkdep .WAIT compat .WAIT \
|
|||
.WAIT tic \
|
||||
.WAIT lex \
|
||||
.WAIT gmake .WAIT binutils .WAIT gcc \
|
||||
cat pwd_mkdb stat zic \
|
||||
cat file pwd_mkdb stat zic \
|
||||
|
||||
|
||||
|
||||
|
|
19
tools/file/Makefile
Normal file
19
tools/file/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $NetBSD: Makefile,v 1.7 2012/04/15 08:37:33 mrg Exp $
|
||||
#
|
||||
|
||||
GNUHOSTDIST= ${.CURDIR}/../../external/bsd/file/dist
|
||||
|
||||
CONFIGURE_ENV+= CC=${HOST_CC:Q} \
|
||||
CFLAGS=${HOST_CFLAGS:Q} \
|
||||
CPPFLAGS=${HOST_CPPFLAGS:Q} \
|
||||
CXX=${HOST_CXX:Q}
|
||||
|
||||
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX} --disable-shared \
|
||||
--disable-warnings
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
.include "${.CURDIR}/../Makefile.gnuhost"
|
||||
|
||||
# Force avoiding possibly non-executable install-sh.
|
||||
CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"
|
Loading…
Reference in a new issue