Skip to content

Commit 060e359

Browse files
committed
Makefile: add modules_install target
Add a `modules_install` target to the Makefile to assist with installation of the built modules. This target is a useful shortcut for local development and is also used by build systems such as OpenEmbedded. Signed-off-by: Tom Stokes <tomstokes@radixengineering.com>
1 parent c8ed25d commit 060e359

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ KDIR ?= /lib/modules/`uname -r`/build
44

55
default:
66
$(MAKE) -C $(KDIR) M=$$PWD
7+
8+
modules_install: default
9+
$(MAKE) -C $(KDIR) M=$$PWD modules_install

0 commit comments

Comments
 (0)