Include Makefile.$MACHINE, if it exists, otherwise
Include Makefile.$MACHINE_ARCH, if it exists, otherwise Include Makefile.$MACHINE_CPUARCH, if it exists, otherwise do nothing
This commit is contained in:
parent
4e62186f58
commit
9dd810b3d0
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