Page MenuHomeFreeBSD

Create a TARGET_CPUARCH thing which fixes check-old after r302391.
ClosedPublic

Authored by bdrewery on Jul 8 2016, 7:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 6:10 AM
Unknown Object (File)
Wed, May 6, 12:22 PM
Unknown Object (File)
Wed, May 6, 5:32 AM
Unknown Object (File)
Sun, May 3, 1:34 PM
Unknown Object (File)
Tue, Apr 21, 11:51 AM
Unknown Object (File)
Apr 14 2026, 10:48 PM
Unknown Object (File)
Apr 14 2026, 1:52 PM
Unknown Object (File)
Apr 13 2026, 10:20 PM
Subscribers

Details

Summary

MFC after: 3 days
Sponsored by: EMC / Isilon Storage Division

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bdrewery retitled this revision from to Create a TARGET_CPUARCH thing which fixes check-old after r302391..
bdrewery updated this object.
bdrewery edited the test plan for this revision. (Show Details)
bdrewery added reviewers: imp, jhibbits, andrew, ian.
bdrewery added a subscriber: gjb.
jhibbits edited edge metadata.

Still confused over the difference of ${TARGET} vs ${TARGET_CPUARCH}, and for that matter, as you said on IRC, ${MACHINE} vs ${MACHINE_CPUARCH}.

Looks fine, though.

This revision is now accepted and ready to land.Jul 8 2016, 7:37 PM

Still confused over the difference of ${TARGET} vs ${TARGET_CPUARCH}, and for that matter, as you said on IRC, ${MACHINE} vs ${MACHINE_CPUARCH}.

Looks fine, though.

No clue, but we support all 3 for Makefiles at least via share/mk/bsd.arch.inc.mk:

.if exists(${.CURDIR}/Makefile.${MACHINE})
.include "Makefile.${MACHINE}"
.elif exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
.include "Makefile.${MACHINE_ARCH}"
.elif exists(${.CURDIR}/Makefile.${MACHINE_CPUARCH})
.include "Makefile.${MACHINE_CPUARCH}"
.endif

This is no longer needed to fix 'check-old' after rS302449. It may still be useful though.

This revision was automatically updated to reflect the committed changes.