summaryrefslogtreecommitdiff
path: root/kernel-devel/char-device/example/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-devel/char-device/example/kernel')
-rw-r--r--kernel-devel/char-device/example/kernel/Makefile13
1 files changed, 0 insertions, 13 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