From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46123176.1080503@domain.hid> Date: Tue, 03 Apr 2007 12:50:30 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-help] v2.2.6 prepare-kernel.sh broken for 2.4 kernels References: <200704031134.33726.peter.soetens@domain.hid> In-Reply-To: <200704031134.33726.peter.soetens@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Soetens Cc: xenomai@xenomai.org Peter Soetens wrote: > Hi, > > It seems some files are missing in this (not announced ?) release, which make > the prepare-kernel.sh script fail in the following fcn: > > patch_help() { > if which perl > /dev/null; then > hfile=$linux_tree/Documentation/Configure.help > if ! grep -iq CONFIG_XENO $hfile; then > kfiles=$xenomai_root/scripts/Kconfig.frag > for d in ksrc/nucleus ksrc/skins ksrc/arch/$xenomai_arch \ > ksrc/drivers sim; do > > -> 'sim' is not found > > kfiles="$kfiles `find $xenomai_root/$d -name Kconfig`" > done > perl $xenomai_root/scripts/help_from_kconfig.pl $kfiles >> $hfile > > -> help_from_kconfig.pl is not found. > > if test x$verbose = x1; then > echo 'Configuration help added.' > fi > fi > fi > } > > It seems (afaikt) to be related to this patch: > > > Which did not patch the Makefile.am file to include the script in the > EXTRA_DIST var. The 'sim' dir seems to be a Xenomai 2.0.x slip-in. A similar problem has been reported in December 2006 with another release. Search for the subject "prepare kernel fails". Some files are missing or not up-to-date in this release :-(. Wolfgang.