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.7.4~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=47086178b1a3e880b8e861f9cc4060bae1532695;p=lttng-modules.git 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 d12411e0..8b310059 100644 --- 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: