[lttng-dev] [PATCH lttng-modules] Add modules target to base Makefile
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Wed May 11 14:44:03 UTC 2016
merged into master, 2.8, 2.7, 2.6, thanks!
Mathieu
----- On May 11, 2016, at 10:38 AM, Michael Jeanson mjeanson at efficios.com wrote:
> This way running 'make modules' will indeed build the modules
> like in the upstream build system.
>
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> Makefile | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 588ca96..738a35c 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -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
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list