Commit 025677de authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: Makefile: provide install target

Provide an install Makefile target for those that want to install the
kernel modules.
Signed-off-by: default avatarGreg 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
parent e2ed07f1
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment