mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] trace-cmd: Fix out-of-tree build
@ 2014-01-08 13:03 Kusanagi Kouichi
  2014-01-08 14:03 ` Steven Rostedt
  0 siblings, 1 reply; 2+ messages in thread
From: Kusanagi Kouichi @ 2014-01-08 13:03 UTC (permalink / raw)
  To: linux-trace-users, linux-kernel

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>
---
 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
-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trace-cmd: Fix out-of-tree build
  2014-01-08 13:03 [PATCH] trace-cmd: Fix out-of-tree build Kusanagi Kouichi
@ 2014-01-08 14:03 ` Steven Rostedt
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2014-01-08 14:03 UTC (permalink / raw)
  To: Kusanagi Kouichi; +Cc: linux-trace-users, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-08 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-08 13:03 [PATCH] trace-cmd: Fix out-of-tree build Kusanagi Kouichi
2014-01-08 14:03 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®