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/openzfs/scripts/dkms.postbuild

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 PROG=$0
    4 
    5 while getopts "a:k:n:t:v:" opt; do
    6         case $opt in
    7                 a) arch=$OPTARG    ;;
    8                 k) kver=$OPTARG    ;;
    9                 n) pkgname=$OPTARG ;;
   10                 t) tree=$OPTARG    ;;
   11                 v) pkgver=$OPTARG  ;;
   12                 *) err=1           ;;
   13         esac
   14 done
   15 
   16 if [ -z "${arch}" ] || [ -z "${kver}" ] || [ -z "${pkgname}" ] || \
   17     [ -z "${tree}" ] || [ -z "${pkgver}" ] || [ -n "${err}" ]; then
   18         echo "Usage: $PROG -a <arch> -k <kver> -n <pkgname>" \
   19             "-t <tree> -v <pkgver>"
   20         exit 1
   21 fi
   22 
   23 exec cp "${tree}/${pkgname}/${pkgver}/build/zfs_config.h"     \
   24    "${tree}/${pkgname}/${pkgver}/build/module/Module.symvers" \
   25    "${tree}/${pkgname}/${pkgver}/${kver}/${arch}/"

Cache object: b9efade9f2fc3054425f48660930f61b


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