Rudra Pratap Singh

interrupt_based_gpio_driver_for_imx35

Discussion created by Rudra Pratap Singh on Jul 4, 2012

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

Outcomes