From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 17 Mar 2016 15:52:05 +0100 From: Gilles Chanteperdrix Message-ID: <20160317145205.GE575@hermes.click-hack.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Subject: Re: [Xenomai] Xenomai on Intel Edison List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?B?TeR4?= Tanner Cc: xenomai@xenomai.org On Thu, Mar 17, 2016 at 03:45:28PM +0100, M=E4x Tanner wrote: > Hello, >=20 > I have some troubles installing Xenomai 3.0.1 on the Intel Edison (Yocto > Linux). I really hope you can help me with the following error: >=20 > After extracting Xenomai, running ./bootstrap and ./configure without > errors - I get the following error trying to run ./prepare-kernel.sh: line > 307: linux_: command not found > Line 307 consists of: > eval linux_`grep '^EXTRAVERSION =3D' $linux_tree/Makefile | sed -e 's, ,,= g'` > The problem is that grep does not find EXTRAVERSION in the Makefile. Hence > it returns nothing and of course the OS can not recognize the command > "linux_". I checked the Makefile and there is no "EXTRAVERSION" > declaration, neither (following in the next lines of the > "prepare_kernel.sh") a "PATCHLEVEL", "SUBLEVEL" or "VERSION" declaration. > As result of that I think that my Makefile is not generated correctly. But > I don't see the point why? Normally, the Linux kernel sources makefile contains something like: VERSION =3D 4 PATCHLEVEL =3D 5 SUBLEVEL =3D 0 EXTRAVERSION =3D Are you sure you pass the path to some kernel sources to prepare-kernel.sh --linux parameter ? --=20 Gilles. https://click-hack.org