lkml.org 
[lkml]   [2014]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] trace-cmd: Fix out-of-tree build
On Wed, 8 Jan 2014 22:03:22 +0900
Kusanagi Kouichi <slash@ac.auone-net.jp> wrote:

> make O=foo fails with following error:
>
> .../Makefile:221: features.mk: No such file or directory
> make[1]: *** No rule to make target `features.mk'. Stop.
> make: *** [sub-make] Error 2
>
> Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>

Thanks! Applied and pushed.

-- Steve

> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 0578546..b967019 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -218,7 +218,7 @@ KERNELSHARK_VERSION = $(KS_VERSION).$(KS_PATCHLEVEL).$(KS_EXTRAVERSION)
>
> INCLUDES = -I. $(CONFIG_INCLUDES)
>
> -include features.mk
> +include $(src)/features.mk
>
> # Set compile option CFLAGS if not set elsewhere
> CFLAGS ?= -g -Wall



\
 
 \ /
  Last update: 2014-01-08 15:41    [W:0.250 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site