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