fix 'make install'
PATCH 1/1 fix 'make install'
Recent work on handling the case of no frame_vector.c in the kernel seems to have ended up breaking the 'make install' target. The patch below makes it work again for me, on ubuntu 16.04 LTS, amd64, kernel 4.4.
Without it, I get this behavior:
moake -C /home/me/media_build/v4l install
make[1]: Entering directory '/home/me/media_build/v4l'
make[1]: *** No rule to make target 'mm-install', needed by 'install'. Stop. make[1]: Leaving directory '/home/me/media_build/v4l' Makefile:15: recipe for target 'install' failed
make: *** [install] Error 2
v4l/Makefile +8 -2
@@ -210,8 +210,14 @@ all:: default ################################################# # installation invocation rules - -modules_install install:: mm-install media-install firmware_install +INSTALLDEPS := +ifeq ($(makefile-mm),1) +INSTALLDEPS += mm-install +endif +ifeq ($(makefile-media),1) +INSTALLDEPS += media-install +endif +modules_install install:: $(INSTALLDEPS) firmware_install remove rminstall:: media-rminstall
Vince