[PATCH] trace-cmd: Fix out-of-tree build

From: Kusanagi Kouichi
Date: Wed Jan 08 2014 - 08:03:30 EST


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@xxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/