[maemo-developers] Determining target kernel version in scratchbox

From: Florian Boor florian.boor at kernelconcepts.de
Date: Fri Aug 15 12:02:47 EEST 2008
Hi,

Danny Milosavljevic schrieb:
> Yeah, I wonder whether the correct fix is to put into the Makefile:
>   KVER ?= $(shell uname -r)
> so that it is setable from outside:
>   $ KVER=foobar make
> or instead to provide an executable "uname" in Scratchbox which returns:
>   $ uname -r
>   2.6.21-omap1

don't use a fake uname, thats a bad idea for various reasons.
I think it is valid to guess the correct kernel from /lib/modules as a default.
Just make sure that you can override this because you might want for a different
kernel than the one the SDK contains.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-15
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de

1D78 2D4D 6C53 1CA4 5588  D07B A8E7 940C 25B7 9A76

More information about the maemo-developers mailing list