Change the logic here to match Makefile.inc1. Having it in two places
suggests an opportunity for refactoring :) Submitted by: nathanw@
This commit is contained in:
parent
dda89c7303
commit
2bef81cf3a
@ -112,7 +112,9 @@ SUBDIR= ${SUBDIR_ORDERED} \
|
||||
${_bind} \
|
||||
${_clang}
|
||||
|
||||
.if exists(${.CURDIR}/csu/${MACHINE_CPUARCH}-elf)
|
||||
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
|
||||
_csu=csu/${MACHINE_ARCH}-elf
|
||||
.elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}-elf)
|
||||
_csu=csu/${MACHINE_CPUARCH}-elf
|
||||
.elif exists(${.CURDIR}/csu/${MACHINE_CPUARCH}/Makefile)
|
||||
_csu=csu/${MACHINE_CPUARCH}
|
||||
|
Loading…
Reference in New Issue
Block a user