From c1c171acbe3145af9647ddb42c4fe3af491689c0 Mon Sep 17 00:00:00 2001 From: Cameron Hutchison Date: Tue, 23 Feb 2010 22:00:16 +0000 Subject: [PATCH] linux-advanced: Fix probing of kernel version Probing the kernel version uses command substitution to capture the result of a make command. If the top-level make is run with -C, the sub-make will print entering/leaving directory messages, mucking up the output we're trying to capture. Invoke the sub-make with --no-print-directory so we get clean output. Signed-off-by: Cameron Hutchison Signed-off-by: Peter Korsgaard --- target/linux/Makefile.in.advanced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index b4774ca23d..7679d1ed70 100644 --- a/target/linux/Makefile.in.advanced +++ b/target/linux/Makefile.in.advanced @@ -41,7 +41,7 @@ endif endif # Ask the kernel what version number it will use when installing modules -LINUX26_VERSION_PROBED = `$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) -s kernelrelease` +LINUX26_VERSION_PROBED = `$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) --no-print-directory -s kernelrelease` ifeq ($(BOARD_PATH),) BOARD_PATH:=$(call qstrip,$(BR2_BOARD_PATH)) -- 2.30.2