summaryrefslogtreecommitdiffstats
path: root/sbin/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-10-25 07:28:55 +0000
committerru <ru@FreeBSD.org>2001-10-25 07:28:55 +0000
commit3f8bab2d9583ac70f7910f418051b3902d790de8 (patch)
treedcddb6c6ce046fe116ba907a29eb224e5022c3d4 /sbin/Makefile
parentdb827296e43acae577fb6732dd460639567beb4b (diff)
downloadFreeBSD-src-3f8bab2d9583ac70f7910f418051b3902d790de8.zip
FreeBSD-src-3f8bab2d9583ac70f7910f418051b3902d790de8.tar.gz
Fix cross-building further.
Introduce ${TARGET} defaulting to ${MACHINE} which should be set to whatever your target ${MACHINE} is, and use that with world-related stages. That is, to build pc98 on alpha, one now needs to set both TARGET_ARCH=i386 and TARGET=pc98. The scope of ${TARGET} is limited to Makefile.inc1 and cross-tools. In particular, this change was tested to fix: 1. Cross building of "alpha" on i386. The breakage was introduced by rev. 1.10 to sbin/i386/Makefile (missing <machine/cronyx.h>). 2. Descending into machine-specific subdirs for a different arch. Previously, sbin/i386 and usr.sbin/boot0cfg were descended into when cross-building "alpha" or pc98 on i386. 3. Fixes pc98 cross-building which was horribly broken, caused by not setting MACHINE correctly (most ${MACHINE} == pc98 checking Makefiles put -DPC98 to CFLAGS).
Diffstat (limited to 'sbin/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud