Fix: add modules target to base Makefile
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 11 May 2016 14:38:06 +0000 (10:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2016 14:42:28 +0000 (10:42 -0400)
This way running 'make modules' will indeed build the modules
like in the upstream build system.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile

index 4804dfef0e157d43b6437c0694b2a55bd3f977d4..c0b562a602f7fd6fc3d070f29ceafeed36b8ca53 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,9 @@ KERNELDIR ?= /lib/modules/$(shell uname -r)/build
 PWD := $(shell pwd)
 CFLAGS = $(EXTCFLAGS)
 
-default:
+default: modules
+
+modules:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_LTTNG=m modules
 
 modules_install:
This page took 0.025996 seconds and 4 git commands to generate.