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.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_out/libdha/kernelhelper/Makefile.am b/src/video_out/libdha/kernelhelper/Makefile.am
index f11939fda..ffbddaee3 100644
--- a/src/video_out/libdha/kernelhelper/Makefile.am
+++ b/src/video_out/libdha/kernelhelper/Makefile.am
@@ -26,6 +26,7 @@ nodes:
all: $(KERNEL_MODULE)
install-exec-local: $(KERNEL_MODULE)
+if HAVE_LINUX
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(moddir)
@list='$(KERNEL_MODULE)'; \
@@ -39,15 +40,18 @@ install-exec-local: $(KERNEL_MODULE)
if test ! -c /dev/dhahelper; then \
$(MAKE) nodes; \
fi
+endif
uninstall-local:
+if HAVE_LINUX
@$(NORMAL_UNINSTALL)
@list='$(KERNEL_MODULE)'; \
for p in $$list; do \
echo "rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
rm -f $(DESTDIR)$(moddir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
+endif
debug:
install-debug: install