Use 'CSCOPE_ARCHDIR' to change the default architecture directories to
cscope. After the addition of sys/modules/dtrace/dtrace, setting 'ARCHDIR' in /etc/src.conf breaks the build.
This commit is contained in:
parent
078b704233
commit
2efc107abe
@ -12,9 +12,12 @@ CSCOPEDIRS= boot bsm cam compat conf contrib crypto ddb dev fs gdb geom \
|
||||
gnu isa kern libkern modules net net80211 netatalk \
|
||||
netgraph netinet netinet6 netipsec netipx netnatm netncp \
|
||||
netsmb nfs nfs4client nfsclient nfsserver opencrypto pccard \
|
||||
pci rpc security sys ufs vm ${ARCHDIR}
|
||||
|
||||
ARCHDIR ?= ${MACHINE}
|
||||
pci rpc security sys ufs vm ${CSCOPE_ARCHDIR}
|
||||
.if defined(ALL_ARCH)
|
||||
CSCOPE_ARCHDIR ?= amd64 arm i386 ia64 mips powerpc sparc64
|
||||
.else
|
||||
CSCOPE_ARCHDIR ?= ${MACHINE}
|
||||
.endif
|
||||
|
||||
# Loadable kernel modules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user