On Fri, Aug 12, 2011 at 10:44:04AM +0200, [email protected] wrote:
> From: Bernhard Walle <[email protected]>
> 
> Fallback to the kernel version that is built and installed for the
> target.

Tnx. Applied

Michael

> Signed-off-by: Bernhard Walle <[email protected]>
> ---
>  rules/valgrind.make |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)
> 
> diff --git a/rules/valgrind.make b/rules/valgrind.make
> index 7fa78e8..bb931e7 100644
> --- a/rules/valgrind.make
> +++ b/rules/valgrind.make
> @@ -40,10 +40,18 @@ $(VALGRIND_SOURCE):
>  # Prepare
>  # 
> ----------------------------------------------------------------------------
>  
> +ifdef KERNEL_VERSION
> +VALGRIND_KERNEL_VERSION := $(KERNEL_VERSION)
> +endif
> +
> +ifdef KERNEL_HEADER_VERSION
> +VALGRIND_KERNEL_VERSION := $(KERNEL_HEADER_VERSION)
> +endif
> +
>  VALGRIND_PATH        := PATH=$(CROSS_PATH)
>  VALGRIND_ENV := \
>       $(CROSS_ENV) \
> -     valgrind_cv_sys_kernel_version=$(KERNEL_HEADER_VERSION)
> +     valgrind_cv_sys_kernel_version=$(VALGRIND_KERNEL_VERSION)
>  
>  #
>  # autoconf
> -- 
> 1.7.6
> 
> 
> -- 
> ptxdist mailing list
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to