Skip to contentSkip to conversation

Add modules target to base Makefile

PATCH Mathieu Desnoyers 1 participant 1 message May 11, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

merged into master, 2.8, 2.7, 2.6, thanks!

Mathieu

Quoted 25 lines · ----- On May 11, 2016, at 10:38 AM, Michael Jeanson [email protected] wrote:

This way running 'make modules' will indeed build the modules like in the upstream build system.

---
Makefile | 4 +++-

1 file changed, 3 insertions(+), 1 deletion(-)
Makefile +3 -1
index 588ca96..738a35c 100644
@@ -101,7 +101,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:
--
1.9.1

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev