Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 282 → Rev 283

/linux/oe/user.collection/recipes/tasks/task-gpio-all.bb
2,7 → 2,7
 
inherit task
 
PR = "r1"
PR = "r2"
 
RRECOMMENDS_${PN} = " \
gpio-app gpio-lib gpio-module \
/linux/gpio-event/module/gpio-event-drv.c
785,7 → 785,7
*
*****************************************************************************/
 
int gpio_event_ioctl( struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg )
long gpio_event_ioctl( struct file *file, unsigned int cmd, unsigned long arg )
{
GPIO_FileData_t *fileData;
 
1068,12 → 1068,12
 
struct file_operations gpio_event_fops =
{
owner: THIS_MODULE,
ioctl: gpio_event_ioctl,
open: gpio_event_open,
poll: gpio_event_poll,
release: gpio_event_release,
read: gpio_event_read,
owner: THIS_MODULE,
unlocked_ioctl: gpio_event_ioctl,
open: gpio_event_open,
poll: gpio_event_poll,
release: gpio_event_release,
read: gpio_event_read,
};
 
/****************************************************************************
/linux/gpio-event/module/Makefile
14,7 → 14,8
PWD = $(shell pwd)
 
OVEROTOP ?= /home/gumstix/overo-oe
CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-
#CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-
CROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-
KERNEL_PATH ?= $(OVEROTOP)/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel
ARCH ?= arm
 
/linux/gpio/module/user-gpio-drv.c
59,7 → 59,7
*
***************************************************************************/
 
int gpio_drv_ioctl( struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg )
long gpio_drv_ioctl( struct file *file, unsigned int cmd, unsigned long arg )
{
int rc = 0;
 
166,7 → 166,7
struct file_operations gpio_fops =
{
owner: THIS_MODULE,
ioctl: gpio_drv_ioctl,
unlocked_ioctl: gpio_drv_ioctl,
};
 
/****************************************************************************
/linux/gpio/module/Makefile
4,18 → 4,19
#
#############################################################################
 
ifneq ($(KERNELRELEASE),)
#ifneq ($(KERNELRELEASE),)
# call from kernel build system
 
obj-m := user-gpio-drv.o
 
else
#else
 
PWD = $(shell pwd)
 
OVEROTOP ?= /home/gumstix/overo-oe
CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-
KERNEL_PATH ?= $(OVEROTOP)/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel
#CROSS_COMPILE ?= $(OVEROTOP)/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-
CROSS_COMPILE ?= $(OVEROTOP)/tmp/sysroots/x86_64-linux/usr/armv7a/bin/arm-angstrom-linux-gnueabi-
KERNEL_PATH ?= ../../../../../gumstix/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel
ARCH ?= arm
 
export ARCH CROSS_COMPILE
25,9 → 26,10
default: modules
 
modules:
echo $(MAKE) $(KBUILD_FLAGS) modules
$(MAKE) $(KBUILD_FLAGS) modules
 
clean:
rm -rf *.o *~ *.ko *.mod.c .*.cmd .tmp* modules.order Module.symvers
endif
#endif