diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/files')
-rw-r--r-- | meta/lib/oeqa/runtime/files/hellomod.c | 19 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/files/hellomod_makefile | 8 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/files/testmakefile | 5 |
3 files changed, 0 insertions, 32 deletions
diff --git a/meta/lib/oeqa/runtime/files/hellomod.c b/meta/lib/oeqa/runtime/files/hellomod.c deleted file mode 100644 index a383397e93..0000000000 --- a/meta/lib/oeqa/runtime/files/hellomod.c +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | #include <linux/module.h> | ||
2 | #include <linux/kernel.h> | ||
3 | #include <linux/init.h> | ||
4 | |||
5 | static int __init hello_init(void) | ||
6 | { | ||
7 | printk(KERN_INFO "Hello world!\n"); | ||
8 | return 0; | ||
9 | } | ||
10 | |||
11 | static void __exit hello_cleanup(void) | ||
12 | { | ||
13 | printk(KERN_INFO "Cleaning up hellomod.\n"); | ||
14 | } | ||
15 | |||
16 | module_init(hello_init); | ||
17 | module_exit(hello_cleanup); | ||
18 | |||
19 | MODULE_LICENSE("GPL"); | ||
diff --git a/meta/lib/oeqa/runtime/files/hellomod_makefile b/meta/lib/oeqa/runtime/files/hellomod_makefile deleted file mode 100644 index b92d5c8fe0..0000000000 --- a/meta/lib/oeqa/runtime/files/hellomod_makefile +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | obj-m := hellomod.o | ||
2 | KDIR := /usr/src/kernel | ||
3 | |||
4 | all: | ||
5 | $(MAKE) -C $(KDIR) M=$(PWD) modules | ||
6 | |||
7 | clean: | ||
8 | $(MAKE) -C $(KDIR) M=$(PWD) clean | ||
diff --git a/meta/lib/oeqa/runtime/files/testmakefile b/meta/lib/oeqa/runtime/files/testmakefile deleted file mode 100644 index ca1844e930..0000000000 --- a/meta/lib/oeqa/runtime/files/testmakefile +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | test: test.o | ||
2 | gcc -o test test.o -lm | ||
3 | test.o: test.c | ||
4 | gcc -c test.c | ||
5 | |||