[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikJzEM2BjZVBBbK9gt1dyvv0CK0==s3hxq4ywy4@mail.gmail.com>
Date: Tue, 17 Aug 2010 14:08:51 +0400
From: Sergey Naumov <sknaumov@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: bug LINUX_VERSION_CODE undefined
Some update.
It seems that build script (and makefiles) uses it's own VERSION variable.
In the last standalone makefile where
> make uImage
executes, I have tried to
> override VERSION :=
> export VERSION
and execute make as
> VERSION= make uImage
but the only thing that helps is to prepend "override" keyword to
VERSION initialization in the main linux Makefile:
override VERSION = 2
2010/8/17 Sergey Naumov <sknaumov@...il.com>:
> Hello. This is my first message to this list so please be patient.
>
> I have encountered compilation error due to
> #define LINUX_VERSION_CODE
> in include/linux/version.h
>
> This happens because $(VERSION) variable in the main Makefile has a
> value of 2.6.35.2 instead of 2,
> so "expr" utility fails to generate LINUX_VERSION_CODE value with an
> error "non-numeric argument" or smth.
>
> I have found only one link (
> http://www.spinics.net/lists/linux-kbuild/msg03230.html ) to this
> issue in the Internet,
> but there is no response to it, so I decided to post this message.
>
> Please subscribe me personally to answers to this post.
>
> Sergey Naumov.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists