Fix: add modules target to base Makefile
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2016 14:43:21 +0000 (10:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 11 May 2016 14:43:42 +0000 (10:43 -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 eacd25ee911a5ad228ca7fffd2d6a2da29fd438c..71cf3bf59c47c63441730a152d929d3c90bfc6da 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,9 @@ else # KERNELRELEASE
        PWD := $(shell pwd)
        CFLAGS = $(EXTCFLAGS)
 
-default:
+default: modules
+
+modules:
        LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
 
 modules_install:
This page took 0.026487 seconds and 4 git commands to generate.