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 < /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.