summaryrefslogtreecommitdiff
path: root/src/video_out/libdha/kernelhelper
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/libdha/kernelhelper')
-rw-r--r--src/video_out/libdha/kernelhelper/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_out/libdha/kernelhelper/Makefile.am b/src/video_out/libdha/kernelhelper/Makefile.am
index 1808a3e39..5984a9f86 100644
--- a/src/video_out/libdha/kernelhelper/Makefile.am
+++ b/src/video_out/libdha/kernelhelper/Makefile.am
@@ -3,13 +3,14 @@ EXTRA_DIST = README dhahelper.c
CFLAGS = -O2 -Wall -D__KERNEL__ -DMODULE
-## CLEAN ME
KVERSION = $(shell $(SHELL) -c 'uname -r')
moddir = /lib/modules/$(KVERSION)/misc
KCOMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(LINUX_INCLUDE)
-@HAVE_LINUX_TRUE@KERNEL_MODULE = dhahelper.o
+if HAVE_LINUX
+KERNEL_MODULE = dhahelper.o
+endif
noinst_HEADERS = dhahelper.h