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/modules/drm2/radeonkmsfw/gen-makefiles

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 # $FreeBSD: releng/10.3/sys/modules/drm2/radeonkmsfw/gen-makefiles 254885 2013-08-25 19:37:15Z dumbbell $
    3 
    4 set -e
    5 
    6 scriptdir=$(cd $(dirname $0) && pwd)
    7 fwdir=$scriptdir/../../../contrib/dev/drm2/radeonkmsfw
    8 
    9 for dir in $scriptdir/*; do
   10         if [ ! -d $dir ]; then
   11                 continue
   12         fi
   13         rm -rf $dir
   14 done
   15 
   16 for file in $fwdir/*.uu; do
   17         img=$(basename $file)
   18         img=${img%.bin.uu}
   19         echo "Image: $img"
   20 
   21         mkdir -p $scriptdir/$img
   22         cat > $scriptdir/$img/Makefile <<EOF
   23 # \$FreeBSD: releng/10.3/sys/modules/drm2/radeonkmsfw/gen-makefiles 254885 2013-08-25 19:37:15Z dumbbell $
   24 
   25 KMOD=   radeonkmsfw_$img
   26 IMG=    $img
   27 
   28 .include <bsd.kmod.mk>
   29 EOF
   30 done

Cache object: 037122506076cfe5b06390501ff6bede


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