Wolfgang Grandegger wrote:
Daniel Schnell wrote:
Wolfgang Grandegger wrote:
I unable to reproduce your problem with a fresh linuxppc_2_4_devel
tree and xenomai-2.3.0. Could you please use the "--verbose" option
with prepare_kernel.sh and post the result.
Hmm, I used
make mrproper; git pull
to get the latest deltas from the repository. But maybe there is a saner
way to do it ? I am pulling a fresh tree at the moment, but this will
take quite a while according to the progress bar.
The output from the skript is
Preparing kernel 2.4.25 in
/home/daniel/projects/mach4/linuxppc_2_4_devel-git-xenomai-2.3.0...
Adeos found - bypassing patch.
Adeos/ppc 1.2-01 installed.
And ? Is printed out on stderr.
In the meanwhile I got the fresh linux kernel, the same happensn here.
I pulled it via
git clone git://www.denx.de/git/linuxppc_2_4_devel.git
linuxppc_2_4_devel-git-xenomai-2.3.0
The problem is with the attached code snippet. It works under FC4 but
not under FC6, as I just realized. Still puzzled...
Wolfgang.
------------------------------------------------------------------------
#!/bin/bash
ed -s Makefile <<EOF
/DRIVERS := \$(DRIVERS-y)
^r Modules.frag
.
wq
EOF
------------------------------------------------------------------------
The attached patch fixes the problem by replacing "^" with "-1" for
"previous line". It works now with FC4 and FC6. Likely it's an
incompatibility issue between ed-0.2-3 ed-0.3-0.fc6.
Wolfgang.
+ diff -u xenomai-2.3.0/scripts/prepare-kernel.sh.ED xenomai-2.3.0/scripts/prepare-kernel.sh
--- xenomai-2.3.0/scripts/prepare-kernel.sh.ED 2007-01-24 21:45:24.000000000 +0100
+++ xenomai-2.3.0/scripts/prepare-kernel.sh 2007-01-24 23:13:46.000000000 +0100
@@ -443,7 +443,7 @@
if ! grep -q CONFIG_XENO $linux_tree/Makefile; then
patch_ed Makefile <<EOF
/DRIVERS := \$(DRIVERS-y)
-^r $xenomai_root/scripts/Modules.frag
+-1r $xenomai_root/scripts/Modules.frag
.
wq
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help