Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 head    1.3;
  2 access;
  3 symbols;
  4 locks
  5         baker:1.3; strict;
  6 comment @# @;
  7 
  8 
  9 1.3
 10 date    2005.05.31.13.37.06;    author baker;   state Exp;
 11 branches;
 12 next    1.2;
 13 
 14 1.2
 15 date    2004.09.09.17.21.26;    author baker;   state Exp;
 16 branches;
 17 next    1.1;
 18 
 19 1.1
 20 date    2004.08.30.18.58.34;    author baker;   state Exp;
 21 branches;
 22 next    ;
 23 
 24 
 25 desc
 26 @@
 27 
 28 
 29 1.3
 30 log
 31 @*** empty log message ***
 32 @
 33 text
 34 @ifneq ($(KERNELRELEASE),)
 35 obj-m := hrt.o
 36 #EXTRA_CFLAGS += -DHRT_DEBUG
 37 else
 38 #KDIR := /lib/modules/$(shell uname -r)/build
 39 KDIR := /home/baker/linux
 40 PWD := $(shell pwd)
 41 
 42 default:
 43         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules 
 44         ln -sf hrt.ko hrt.o
 45 install:
 46         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
 47 clean:
 48         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
 49         rm -f hrt.o
 50 endif
 51 @
 52 
 53 
 54 1.2
 55 log
 56 @*** empty log message ***
 57 @
 58 text
 59 @a0 4
 60 # Trick provided by Gerd Knorr
 61 # Consider creating configuration script to check for
 62 # irqreturn_t (as type or macro), and any other thing we need
 63 # to avoid checking for kernel version numbers explicitly.
 64 d5 2
 65 a6 1
 66 KDIR := /lib/modules/$(shell uname -r)/build
 67 @
 68 
 69 
 70 1.1
 71 log
 72 @Initial revision
 73 @
 74 text
 75 @d2 3
 76 a6 1
 77 hrt-objs := main.o pci.o interrupts.o i2c.o hrt_dev.o hrt_ioctl.o
 78 a14 2
 79         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD)/hrt_v4l modules 
 80         ln -sf hrt_v4l.ko hrt_v4l/hrt_v4l.o
 81 a16 1
 82         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD)/hrt_v4l modules_install
 83 d19 1
 84 a19 3
 85         $(MAKE) -C $(KDIR) SUBDIRS=$(PWD)/hrt_v4l clean
 86         rm -f hrt.o hrt_v4l/hrt_v4l.o
 87         
 88 @
  This page was automatically generated by the LXR engine.