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:21 +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 d12411e0dfd8aa7e979c6d89dd2977e6cff88863..8b3100598978c1f24f955bebec12d276b51658e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,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.026313 seconds and 4 git commands to generate.