summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Hutchison <lists@xdna.net>2010-02-23 22:00:16 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-02-23 22:17:40 (GMT)
commitc1c171acbe3145af9647ddb42c4fe3af491689c0 (patch)
tree56b342ba336cbaa82b9153e77881a92039c758c1
parent89fd72086685765f748bf4ccd06c444fb0efd310 (diff)
downloadbuildroot-c1c171acbe3145af9647ddb42c4fe3af491689c0.tar.gz
buildroot-c1c171acbe3145af9647ddb42c4fe3af491689c0.tar.bz2
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 <cam@camh.ch> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--target/linux/Makefile.in.advanced2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced
index b4774ca..7679d1e 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))