aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-23 08:23:17 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-03-23 08:23:17 +0100
commit948f2d3d62b786f491244f654d10b20f1615b946 (patch)
treea37b6d968be1fef257b7d33a9b34710854f6722d
parent8076bcfe7540bfc5673b106dedec63adcae4a1cd (diff)
Remove Makefile.mm
frame_vector.c is now part of the media subsystem, so Makefile.mm is no longer needed. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--v4l/Makefile12
-rw-r--r--v4l/Makefile.mm28
2 files changed, 0 insertions, 40 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index c45102e..f9c5410 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -87,15 +87,9 @@ ifneq ($(filter $(no-makefile-media-targets), $(MAKECMDGOALS)),)
endif
endif
-makefile-mm := 1
-ifeq ("$(wildcard $(obj)/frame_vector.c)","")
- makefile-mm := 0
-endif
-
# If version not yet detected, we can't create/have these files yet
ifeq ($(KERNELRELEASE),)
makefile-media := 0
- makefile-mm := 0
dot-config := 0
endif
@@ -107,9 +101,6 @@ ifeq ($(makefile-media),1)
-include $(obj)/Makefile.media
-include $(obj)/Makefile.sound
endif
-ifeq ($(makefile-mm),1)
--include $(obj)/Makefile.mm
-endif
-include $(obj)/.kconfig.dep
@@ -210,9 +201,6 @@ all:: default
#################################################
# installation invocation rules
INSTALLDEPS :=
-ifeq ($(makefile-mm),1)
-INSTALLDEPS += mm-install
-endif
ifeq ($(makefile-media),1)
INSTALLDEPS += media-install
endif
diff --git a/v4l/Makefile.mm b/v4l/Makefile.mm
deleted file mode 100644
index 456b87d..0000000
--- a/v4l/Makefile.mm
+++ /dev/null
@@ -1,28 +0,0 @@
-# From mm/Makefile
-
-kver_ge = $(shell \
-echo test | awk ' \
-{if ($(VERSION) < $(1)) {print 0} else { \
- if ($(VERSION) > $(1)) {print 1} else { \
- if ($(PATCHLEVEL) < $(2)) {print 0} else { \
- if ($(PATCHLEVEL) >= $(2)) {print 1} \
-}}}}' \
-)
-
-ifeq ($(call kver_ge,4,3),0)
-# Kernels prior to 4.3 require always frame_vector.ko
-CONFIG_FRAME_VECTOR := m
-endif
-
-obj-$(CONFIG_FRAME_VECTOR) += frame_vector.o
-
-KDIRA := /lib/modules/$(KERNELRELEASE)/kernel
-
-mm-install install-mm::
- @dir="mm"; \
- files='frame_vector.ko'; \
- if [ -f $$files ]; then \
- echo -e "\nInstalling $(KDIRA)/$$dir files:"; \
- install -d $(KDIRA)/$$dir; \
- for i in $$files;do if [ -e $$i ]; then echo -n "$$i "; \
- install -m 644 -c $$i $(KDIRA)/$$dir; fi; done; echo; fi

Privacy Policy