diff options
author | ru <ru@FreeBSD.org> | 2006-09-07 20:27:56 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-09-07 20:27:56 +0000 |
commit | d04edc5790dab1504a82e507350c255aac246f8b (patch) | |
tree | 8abc8ee17a79442939bbd0e2103745fee3f08462 /Makefile.inc1 | |
parent | 5da4fcde162d43c30faa67700ea0d266e624685c (diff) | |
download | FreeBSD-src-d04edc5790dab1504a82e507350c255aac246f8b.zip FreeBSD-src-d04edc5790dab1504a82e507350c255aac246f8b.tar.gz |
While experimenting with cross-building by specifying just TARGET,
I found one bug. Pass our idea of TARGET_ARCH and TARGET down to
XMAKE, the cross-tools make. Previously it worked because usually
TARGET_ARCH was specified on the initial make's command line.
This should also allow us to simplify the "universe" target, which
I'm currently testing.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 513a8b1..a98cc44 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -212,6 +212,7 @@ TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ # cross-tools stage XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} \ + TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ -DWITHOUT_FORTRAN -DWITHOUT_GDB # world stage |