Changeset View
Changeset View
Standalone View
Standalone View
sys/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# Directories to include in cscope name file and TAGS. | # Directories to include in cscope name file and TAGS. | ||||
CSCOPEDIRS= bsm cam cddl compat conf contrib crypto ddb dev fs gdb \ | CSCOPEDIRS= bsm cam cddl compat conf contrib crypto ddb dev fs gdb \ | ||||
geom gnu isa kern libkern modules net net80211 \ | geom gnu isa kern libkern modules net net80211 \ | ||||
netgraph netinet netinet6 netipsec netpfil \ | netgraph netinet netinet6 netipsec netpfil \ | ||||
netsmb nfs nfsclient nfsserver nlm ofed opencrypto \ | netsmb nfs nfsclient nfsserver nlm ofed opencrypto \ | ||||
rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR} | rpc security sys ufs vm xdr xen ${CSCOPE_ARCHDIR} | ||||
.if !defined(CSCOPE_ARCHDIR) | .if !defined(CSCOPE_ARCHDIR) | ||||
.if defined(ALL_ARCH) | .if defined(ALL_ARCH) | ||||
jhb: FYI, the rest of this file does not use indentation for nested .if's, and in general we do not… | |||||
Done Inline ActionsI thought that the .if style change applied to freebsd-src as well. I've seen freebsd-ports doing so. I removed the style change. def: I thought that the `.if` style change applied to freebsd-src as well. I've seen freebsd-ports… | |||||
CSCOPE_ARCHDIR = amd64 arm arm64 i386 powerpc riscv x86 | CSCOPE_ARCHDIR = amd64 arm arm64 i386 powerpc riscv x86 | ||||
.else | .else | ||||
CSCOPE_ARCHDIR = ${MACHINE} | CSCOPE_ARCHDIR = ${MACHINE} | ||||
.if ${MACHINE} != ${MACHINE_CPUARCH} | |||||
CSCOPE_ARCHDIR += ${MACHINE_CPUARCH} | |||||
.endif | |||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | ||||
CSCOPE_ARCHDIR += x86 | CSCOPE_ARCHDIR += x86 | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.endif | .endif | ||||
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh` | HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh` | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
FYI, the rest of this file does not use indentation for nested .if's, and in general we do not do that in src Makefiles AFAIK. It also adds a bit of noise to this commit for which the real changes are removing 3 lines.