diff options
author | obrien <obrien@FreeBSD.org> | 2008-07-10 16:03:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-07-10 16:03:24 +0000 |
commit | d627b957354cb417c7c3791cadf8a97f87f5edde (patch) | |
tree | e5400f4c514f1705fb8ac21075f6113b4a819048 /sys/Makefile | |
parent | 362cb79214c7ca17170d1530859aaf180e618d75 (diff) | |
download | FreeBSD-src-d627b957354cb417c7c3791cadf8a97f87f5edde.zip FreeBSD-src-d627b957354cb417c7c3791cadf8a97f87f5edde.tar.gz |
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.
Diffstat (limited to 'sys/Makefile')
-rw-r--r-- | sys/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/Makefile b/sys/Makefile index 0455756..37c7595 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -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 |