From 87d1b66f8d2c028614948f163f1a36b6c703f3c0 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 11 May 2016 10:38:06 -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 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: -- 2.34.1