On 17.08.2010 17:24, Stefan Kisdaroczi wrote: > On 17.08.2010 15:51, Hemal C.Bavishi wrote: > >> When I tried to compile it with the latest version of kernel with xenomai >> 2.5.4, I am getting following errors in Xenomai (disable CONFIG_SMP, enable >> CONFIG_X86_UP_APIC and >> CONFIG_X86_UP_IOAPIC (*).) >> >> > Just tested, got the same build error with 2.6.34. > If I patch 2.6.34 with prepare-kernel [1] it compiles, > if I use the debian packaged patch generated with prepare-patch [2] it > fails. > > I guess a fix is needed in prepare-patch for 2.6.34, but no time to look > closer now. >
patch for prepare-patch.sh attached. prepare-kernel.sh try's to find ipipe.h and uses the old or new tree structure. Is it ok to change this unconditionally in prepare-patch.sh? All adeos-patches in xenomai-2.5.git have ipipe.h in arch/$linux_arch/include/asm/, so i think yes. Stefan
From 8e792591e8c42a4c38d16514e02622f3398c9f22 Mon Sep 17 00:00:00 2001 From: Stefan Kisdaroczi <[email protected]> Date: Wed, 18 Aug 2010 20:24:15 +0200 Subject: [PATCH] debian: fix asm include directory linking in prepare-patch.sh --- debian/prepare-patch.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/debian/prepare-patch.sh b/debian/prepare-patch.sh index 296638d..6ca734b 100755 --- a/debian/prepare-patch.sh +++ b/debian/prepare-patch.sh @@ -112,7 +112,7 @@ for linux_arch in $supported_arch ; do esac patch_link r m ksrc/arch/$base_arch arch/$linux_arch/xenomai - patch_link r n include/asm-$base_arch include/asm-$linux_arch/xenomai + patch_link r n include/asm-$base_arch arch/$linux_arch/include/asm/xenomai p="+drivers-\$(CONFIG_XENOMAI) += arch/$linux_arch/xenomai/" echo $p | patch_append arch/$linux_arch/Makefile -- 1.7.1
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
