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: http://git.liburcu.org/?a=commitdiff_plain;h=47086178b1a3e880b8e861f9cc4060bae1532695;hp=44a9c1d860cc9bdb29f2b99b1838cd2d18a5c7cc;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: