Skip to contentSkip to conversation

v2.2.6 prepare-kernel.sh broken for 2.4 kernels

Xenomai-help Peter Soetens 3 participants 4 messages Apr 3, 2007

lore
Share & tools
lore
#0 lore raw

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:
<https://mail.gna.org/public/xenomai-core/2006-11/msg00037.html>

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.

Peter

Signature · 1 line
Peter Soetens -- FMTC -- <http://www.fmtc.be>
#1 lore raw
Quoted 27 lines · Peter Soetens

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
}

Quoted 4 lines

It seems (afaikt) to be related to this patch:
<https://mail.gna.org/public/xenomai-core/2006-11/msg00037.html>

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.

#2 lore raw
In reply to Peter Soetens
Quoted 5 lines · Peter Soetens

Hi,

It seems some files are missing in this (not announced ?) release, which make the prepare-kernel.sh script fail in the following fcn:

Fix in progress. Thanks,

Signature · 1 line
Philippe.