Message ID | 20161123113709.GA14257@shambles.local (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/v4l/Makefile b/v4l/Makefile index 28e8fb7..74a2633 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -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