From: Mathieu Desnoyers Date: Wed, 11 May 2016 14:43:21 +0000 (-0400) Subject: Fix: add modules target to base Makefile X-Git-Tag: v2.6.6~8 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=4f8399617e18698100e8ca4dc221ccd9e0f72e9f Fix: add modules target to base Makefile This way running 'make modules' will indeed build the modules like in the upstream build system. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index eacd25ee..71cf3bf5 100644 --- 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: