mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
greybus: Makefile: provide install target
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
This commit is contained in:
parent
e2ed07f1e6
commit
025677def8
1 changed files with 4 additions and 0 deletions
|
|
@ -46,3 +46,7 @@ clean:
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue