summaryrefslogtreecommitdiff
path: root/kernel-devel/char-device/example
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-devel/char-device/example')
-rw-r--r--kernel-devel/char-device/example/kernel/Makefile13
-rw-r--r--kernel-devel/char-device/example/user/Makefile6
2 files changed, 0 insertions, 19 deletions
diff --git a/kernel-devel/char-device/example/kernel/Makefile b/kernel-devel/char-device/example/kernel/Makefile
deleted file mode 100644
index 822c7d7..0000000
--- a/kernel-devel/char-device/example/kernel/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-# If KERNELRELEASE is defined, we've been invoked from the
-# kernel build system and can use its language.
-ifneq ($(KERNELRELEASE),)
- obj-m := huhu.o
-
-# Otherwise we were called directly from the command
-# line; invoke the kernel build system.
-else
- KERNELDIR ?= /lib/modules/$(shell uname -r)/build
- PWD := $(shell pwd)
-default:
- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
-endif
diff --git a/kernel-devel/char-device/example/user/Makefile b/kernel-devel/char-device/example/user/Makefile
deleted file mode 100644
index 66a330c..0000000
--- a/kernel-devel/char-device/example/user/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-OBJECTS=huhu.o
-
-all: $(OBJECTS)
- gcc -o huhu $(OBJECTS)
-clean:
- rm -f $(OBJECTS) huhu