The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/conf/config.mk

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 #
    3 # Common code to marry kernel config(8) goo and module building goo.
    4 #
    5 
    6 # Generate options files that otherwise would be built
    7 # in substantially similar ways through the tree. Move
    8 # the code here when they all produce identical results
    9 # (or should)
   10 .if !defined(KERNBUILDDIR)
   11 opt_bpf.h:
   12         echo "#define DEV_BPF 1" > ${.TARGET}
   13 .if ${MK_INET_SUPPORT} != "no"
   14 opt_inet.h:
   15         @echo "#define INET 1" > ${.TARGET}
   16         @echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
   17 .endif
   18 .if ${MK_INET6_SUPPORT} != "no"
   19 opt_inet6.h:
   20         @echo "#define INET6 1" > ${.TARGET}
   21 .endif
   22 .if ${MK_IPSEC_SUPPORT} != "no"
   23 opt_ipsec.h:
   24         @echo "#define IPSEC_SUPPORT 1" > ${.TARGET}
   25 .endif
   26 .if ${MK_EISA} != "no"
   27 opt_eisa.h:
   28         @echo "#define DEV_EISA 1" > ${.TARGET}
   29 .endif
   30 opt_mrouting.h:
   31         echo "#define MROUTING 1" > ${.TARGET}
   32 opt_natm.h:
   33         echo "#define NATM 1" > ${.TARGET}
   34 opt_scsi.h:
   35         echo "#define SCSI_DELAY 15000" > ${.TARGET}
   36 opt_wlan.h:
   37         echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
   38         echo "#define IEEE80211_AMPDU_AGE 1" >> ${.TARGET}
   39         echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
   40 KERN_OPTS.i386=NEW_PCIB DEV_PCI
   41 KERN_OPTS.pc98=NEW_PCIB DEV_PCI
   42 KERN_OPTS.amd64=NEW_PCIB DEV_PCI
   43 KERN_OPTS.powerpc=NEW_PCIB DEV_PCI
   44 KERN_OPTS=MROUTING NATM IEEE80211_DEBUG \
   45         IEEE80211_AMPDU_AGE IEEE80211_SUPPORT_MESH DEV_BPF \
   46         ${KERN_OPTS.${MACHINE}} ${KERN_OPTS_EXTRA}
   47 .if ${MK_INET_SUPPORT} != "no"
   48 KERN_OPTS+= INET TCP_OFFLOAD
   49 .endif
   50 .if ${MK_INET6_SUPPORT} != "no"
   51 KERN_OPTS+= INET6
   52 .endif
   53 .if ${MK_IPSEC_SUPPORT} != "no"
   54 KERN_OPTS+= IPSEC_SUPPORT
   55 .endif
   56 .if ${MK_EISA} != "no"
   57 KERN_OPTS+= DEV_EISA
   58 .endif
   59 .elif !defined(KERN_OPTS)
   60 KERN_OPTS!=cat ${KERNBUILDDIR}/opt*.h | awk '{print $$2;}' | sort -u
   61 .export KERN_OPTS
   62 .endif
   63 
   64 .if !defined(NO_MODULES) && !defined(__MPATH)
   65 __MPATH!=find ${SYSDIR:tA}/ -name \*_if.m
   66 .export __MPATH
   67 .endif

Cache object: 3eb6ff84f56e402b262fc6e5ab0a5d53


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.