home *** CD-ROM | disk | FTP | other *** search
/ ftp.parl.clemson.edu / 2015-02-07.ftp.parl.clemson.edu.tar / ftp.parl.clemson.edu / pub / pvfs2 / orangefs-2.8.3-20110323.tar.gz / orangefs-2.8.3-20110323.tar / orangefs / test / io / dev / build_mod.sh next >
Linux/UNIX/POSIX Shell Script  |  2003-06-25  |  267b  |  10 lines

  1. #!/bin/tcsh
  2.  
  3. set KERN_VER = `uname -r`
  4.  
  5. gcc -I/lib/modules/${KERN_VER}/build/include -O2 -Wall \
  6. -I../../../src/io/dev/ \
  7. -Wstrict-prototypes -DMODULE -D__KERNEL__ -DLINUX  \
  8. -pipe -fomit-frame-pointer -fno-strict-aliasing \
  9. -mpreferred-stack-boundary=2 -c dev-mod.c
  10.