Provide an install Makefile target for those that want to install the
kernel modules.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
--
v3: resend to list, somehow this thread got taken private and v2 never
made it there.
v2: add -a option to depmod, thanks to Mitchell
coccicheck:
$(MAKE) -C $(KERNELDIR) M=$(PWD) coccicheck
+install: module
+ mkdir -p /lib/modules/$(KERNELVER)/kernel/drivers/greybus/
+ cp -f *.ko /lib/modules/$(KERNELVER)/kernel/drivers/greybus/
+ depmod -a $(KERNELVER)