From 4f8399617e18698100e8ca4dc221ccd9e0f72e9f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 11 May 2016 10:43:21 -0400 Subject: [PATCH] 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 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.34.1