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)
Wed, Oct 23, 11:58 AM
Unknown Object (File)
Fri, Oct 18, 12:12 PM
Unknown Object (File)
Oct 3 2024, 4:24 AM
Unknown Object (File)
Sep 27 2024, 10:25 AM
Unknown Object (File)
Sep 27 2024, 9:37 AM
Unknown Object (File)
Sep 27 2024, 9:23 AM
Unknown Object (File)
Sep 27 2024, 9:23 AM
Unknown Object (File)
Sep 27 2024, 3:20 AM
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.