mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Remove dead code in the cscope target
arm64 is the only currently supported architecture that has ${MACHINE_CPUARCH} set to a different value (aarch64) than ${MACHINE} (arm64), as described in arch(7). However, there is no source directory associated with arm64 that has a name set to ${MACHINE_CPUARCH}. Remove the dead code that adds a directory with a name set to ${MACHINE_CPUARCH} to a list of directories indexed with cscope. This change allows to use the cscope target on arm64. Discussed with: jhb Reviewed by: imp jhb Approved by: oshogbo (mentor) Differential Revision: https://reviews.freebsd.org/D36402
This commit is contained in:
parent
cb25444c05
commit
f0d1225734
|
@ -11,9 +11,6 @@ CSCOPEDIRS= bsm cam cddl compat conf contrib crypto ddb dev fs gdb \
|
|||
CSCOPE_ARCHDIR = amd64 arm arm64 i386 powerpc riscv x86
|
||||
.else
|
||||
CSCOPE_ARCHDIR = ${MACHINE}
|
||||
.if ${MACHINE} != ${MACHINE_CPUARCH}
|
||||
CSCOPE_ARCHDIR += ${MACHINE_CPUARCH}
|
||||
.endif
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
||||
CSCOPE_ARCHDIR += x86
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue