aef87548f3
Enhance Makefile.inc processing, when asked for, to include the most specific (MACHINE specific) to least specific (MACHINE_CPUARCH). Reviewed by: arch@ (mostly silence though)
12 lines
387 B
Makefile
12 lines
387 B
Makefile
#
|
|
# Include the arch-specific Makefile.inc.$ARCH. We go from most specific
|
|
# to least specific, stopping after we get a hit.
|
|
#
|
|
.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
|