diff options
author | ru <ru@FreeBSD.org> | 2003-01-29 10:00:42 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-01-29 10:00:42 +0000 |
commit | d058571890b29a89c4d553f16608a810bfdcfe22 (patch) | |
tree | 08d078621388096332bfb0efeb725c27e856290c /sys/kern/subr_autoconf.c | |
parent | 8f72e1bb39376e3abf39221365fb15c023434e2b (diff) | |
download | FreeBSD-src-d058571890b29a89c4d553f16608a810bfdcfe22.zip FreeBSD-src-d058571890b29a89c4d553f16608a810bfdcfe22.tar.gz |
Part 3/3 of unbreaking cross releases:
When we call "distributeworld" as part of "make release", we set
MACHINE and MACHINE_ARCH to point to TARGET and TARGET_ARCH; this
confused src/Makefile's idea of what ${MAKEPATH}, and consequently
${MAKE}, is (well, it still confuses ${MAKEPATH}, but see below).
To overcome this problem, we now take the following approach:
- We preserve the make(1)'s idea of its argv[0], ${MAKE}.
- We check to see if ${MAKE} passes the regression tests.
- If it does, we use it. Otherwise, we build and use an
up-to-date make(1).
This fix is still not quite right, in a situation where a single
/usr/obj is shared between different architecture machines, but
it is less critical and I hope to fix that soon.
Diffstat (limited to 'sys/kern/subr_autoconf.c')
0 files changed, 0 insertions, 0 deletions