From: Michael Jeanson Date: Wed, 11 May 2016 14:38:06 +0000 (-0400) Subject: Fix: add modules target to base Makefile X-Git-Tag: v2.8.0~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4fbc9bb1a7421372974c28a5d1ab7640046003be;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 4804dfef..c0b562a6 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,9 @@ KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) CFLAGS = $(EXTCFLAGS) -default: +default: modules + +modules: $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_LTTNG=m modules modules_install: