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  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD: stable/11/sys/conf/config.mk 303314 2016-07-25 18:25:19Z bdrewery $
    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_EISA} != "no"
   23 opt_eisa.h:
   24         @echo "#define DEV_EISA 1" > ${.TARGET}
   25 .endif
   26 opt_mrouting.h:
   27         echo "#define MROUTING 1" > ${.TARGET}
   28 opt_natm.h:
   29         echo "#define NATM 1" > ${.TARGET}
   30 opt_scsi.h:
   31         echo "#define SCSI_DELAY 15000" > ${.TARGET}
   32 opt_wlan.h:
   33         echo "#define IEEE80211_DEBUG 1" > ${.TARGET}
   34         echo "#define IEEE80211_AMPDU_AGE 1" >> ${.TARGET}
   35         echo "#define IEEE80211_SUPPORT_MESH 1" >> ${.TARGET}
   36 KERN_OPTS.i386=NEW_PCIB DEV_PCI
   37 KERN_OPTS.pc98=NEW_PCIB DEV_PCI
   38 KERN_OPTS.amd64=NEW_PCIB DEV_PCI
   39 KERN_OPTS.powerpc=NEW_PCIB DEV_PCI
   40 KERN_OPTS=MROUTING NATM IEEE80211_DEBUG \
   41         IEEE80211_AMPDU_AGE IEEE80211_SUPPORT_MESH DEV_BPF \
   42         ${KERN_OPTS.${MACHINE}} ${KERN_OPTS_EXTRA}
   43 .if ${MK_INET_SUPPORT} != "no"
   44 KERN_OPTS+= INET TCP_OFFLOAD
   45 .endif
   46 .if ${MK_INET6_SUPPORT} != "no"
   47 KERN_OPTS+= INET6
   48 .endif
   49 .if ${MK_EISA} != "no"
   50 KERN_OPTS+= DEV_EISA
   51 .endif
   52 .elif !defined(KERN_OPTS)
   53 KERN_OPTS!=cat ${KERNBUILDDIR}/opt*.h | awk '{print $$2;}' | sort -u
   54 .export KERN_OPTS
   55 .endif
   56 
   57 .if !defined(NO_MODULES) && !defined(__MPATH)
   58 __MPATH!=find ${SYSDIR:tA}/ -name \*_if.m
   59 .export __MPATH
   60 .endif

Cache object: 3391c9f9f98de76a6caf1ae8ae6147ee


[ 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.