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/contrib/device-tree/scripts/basic/fixdep

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 #!/bin/sh
    2 
    3 # Simplfied version of Linux scripts/basic/fixdep. We don't need
    4 # CONFIG tracking etc for this usecase.
    5 
    6 
    7 # Fixdep's interface is described:
    8 
    9 # It is invoked as
   10 #
   11 #   fixdep <depfile> <target> <cmdline>
   12 #
   13 # and will read the dependency file <depfile>
   14 #
   15 # The transformed dependency snipped is written to stdout.
   16 #
   17 # It first generates a line
   18 #
   19 #   cmd_<target> = <cmdline>
   20 #
   21 # and then basically copies the .<target>.d file to stdout, in the
   22 # process filtering out the dependency on autoconf.h and adding
   23 # dependencies on include/config/my/option.h for every
   24 # CONFIG_MY_OPTION encountered in any of the prequisites.
   25 
   26 echo cmd_$2 = $3
   27 cat $1

Cache object: f0182f58a80f4f6e742f5519757f9901


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