mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Merge from tbemd
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)
This commit is contained in:
parent
6fc3ead135
commit
aef87548f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209025
11
share/mk/bsd.arch.inc.mk
Normal file
11
share/mk/bsd.arch.inc.mk
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user