From 6900834392d1b661d363edf5300341a11d21ab97 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 21 Apr 2010 19:27:28 +0200 Subject: [PATCH] linux26: fixed lx_injectextraversion() to also consider 'include/generated/utsrelease.h' --- base/linux26/linux-conf.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base/linux26/linux-conf.in b/base/linux26/linux-conf.in index ec528c6d0..6c321a2aa 100644 --- a/base/linux26/linux-conf.in +++ b/base/linux26/linux-conf.in @@ -207,6 +207,10 @@ lx_injectextraversion () { version_header=linux/utsrelease.h fi + if [ -f include/generated/utsrelease.h ]; then + version_header=generated/utsrelease.h + fi + # inject final EXTRAVERSION into Makefile sed -i -e "s,^\([ \t]*EXTRAVERSION[ \t]*\)=.*,\1= ${lx_extraversion},g" Makefile