interrupt_based_gpio_driver_for_imx35

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

interrupt_based_gpio_driver_for_imx35

641 Views
rudrapratapsing
Contributor I

obj-m +=hru_pulse_count.o
ARCH=arm CONFIG_CROSS_COMPILE="arm-cc"
KDIR:=/usr/src/L2.6.31_09.12.01_SDK_source/IMX-LTIB/ltib/rpm/BUILD/linux-2.6.31
PWD:=$(shell pwd)
CC=arm-none-linux-gnueabi-gcc

cc_inc = -I/usr/src/L2.6.31_09.12.01_SDK_source/IMX_LTIB/ltib/rpm/BUILD/linux/arch/arm/mach-mx35 -I/usr/src/L2.6.31_09.12.01_SDK_source/IMX_LTIB/ltib/rpm/BUILD/linux/arch/arm/plat-mxc/include/mach/ -I/usr/src/L2.6.31_09.12.01_SDK_source/IMX-LTIB/ltib/rpm/BUILD/linux-2.6.31/arch/arm/include/asm/mach/

linux_inc = -I/usr/src/kernels/2.6.27.5-117.fc10.i686/include/

all:
$(MAKE) $(cc_inc) $(linux_inc) $< -C $(KDIR) ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- SUBDIRS=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

Original Attachment has been moved to: 78-hru_pulse_count.c

0 Kudos
Reply
0 Replies