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)
Mar 14 2024, 2:35 PM
Unknown Object (File)
Feb 18 2024, 5:49 PM
Unknown Object (File)
Dec 20 2023, 12:04 AM
Unknown Object (File)
Dec 18 2023, 7:22 AM
Unknown Object (File)
Dec 2 2023, 9:57 PM
Unknown Object (File)
Sep 29 2023, 2:12 PM
Unknown Object (File)
Jun 27 2023, 7:00 AM
Unknown Object (File)
May 5 2023, 12:44 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.