This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "HelloWorld.h" | |
JNIEXPORT void JNICALL Java_HelloWorld_sayHello | |
(JNIEnv *env, jclass class) | |
{ | |
puts("Hello from C world"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CFLAGS_mymodule.o := -DDEBUG | |
obj-m := mymodule.o | |
header-y += mymodule.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MCP23S08 SPI/GPIO gpio expander driver | |
*/ | |
#include <linux/kernel.h> | |
#include <linux/device.h> | |
#include <linux/mutex.h> | |
#include <linux/module.h> | |
#include <linux/gpio.h> | |
#include <linux/i2c.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* MCP23S08 SPI/GPIO gpio expander driver | |
*/ | |
#include <linux/kernel.h> | |
#include <linux/device.h> | |
#include <linux/mutex.h> | |
#include <linux/module.h> | |
#include <linux/gpio.h> | |
#include <linux/i2c.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bar | |
tar | |
zar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj-m += gkos_char_device.o | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
clean: | |
rm *.ko *.o *.mod.c *.mod.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Buildroot 2013.05 Configuration | |
# | |
BR2_HAVE_DOT_CONFIG=y | |
# BR2_arcle is not set | |
# BR2_arceb is not set | |
BR2_arm=y | |
# BR2_armeb is not set | |
# BR2_aarch64 is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj-m += cdev04.o | |
KDIR ?= /lib/modules/$(shell uname -r)/build | |
all: | |
make -C $(KDIR) M=$(PWD) modules | |
clean: | |
make -C $(KDIR) M=$(PWD) clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj-m += llist.o | |
KDIR ?= /lib/modules/$(shell uname -r)/build | |
all: | |
make -C $(KDIR) M=$(PWD) modules | |
clean: | |
make -C $(KDIR) M=$(PWD) clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obj-m += cdev06.o | |
KDIR = /home/geckos/abs/linux/src/linux-3.10 | |
all: | |
make -C $(KDIR) M=$(PWD) modules | |
clean: | |
make -C $(KDIR) M=$(PWD) clean | |
@rm -v *~ |
OlderNewer