All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build
@ 2007-12-28 11:04 Jan Kiszka
  2007-12-28 11:14 ` Philippe Gerum
  2007-12-28 11:17 ` Philippe Gerum
  0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2007-12-28 11:04 UTC (permalink / raw)
  To: Xenomai-core

[-- Attachment #1: Type: text/plain, Size: 700 bytes --]

Index: xenomai/scripts/prepare-kernel.sh
===================================================================
--- xenomai/scripts/prepare-kernel.sh	(Revision 3329)
+++ xenomai/scripts/prepare-kernel.sh	(Arbeitskopie)
@@ -428,9 +428,9 @@
             patch_append init/Kconfig
     fi
 
-    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_arch/Makefile; then
+    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_archsrc/Makefile; then
 	p="drivers-\$(CONFIG_XENOMAI)		+= arch/$linux_archsrc/xenomai/"
-	( echo ; echo $p ) | patch_append arch/$linux_arch/Makefile
+	( echo ; echo $p ) | patch_append arch/$linux_archsrc/Makefile
     fi
 
     patch_architecture_specific="n"


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build
  2007-12-28 11:04 [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build Jan Kiszka
@ 2007-12-28 11:14 ` Philippe Gerum
  2007-12-28 11:17 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2007-12-28 11:14 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

Jan Kiszka wrote:
> Index: xenomai/scripts/prepare-kernel.sh
> ===================================================================
> --- xenomai/scripts/prepare-kernel.sh	(Revision 3329)
> +++ xenomai/scripts/prepare-kernel.sh	(Arbeitskopie)
> @@ -428,9 +428,9 @@
>              patch_append init/Kconfig
>      fi
>  
> -    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_arch/Makefile; then
> +    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_archsrc/Makefile; then
>  	p="drivers-\$(CONFIG_XENOMAI)		+= arch/$linux_archsrc/xenomai/"
> -	( echo ; echo $p ) | patch_append arch/$linux_arch/Makefile
> +	( echo ; echo $p ) | patch_append arch/$linux_archsrc/Makefile
>      fi
>  
>      patch_architecture_specific="n"
>

This won't work for newer x86 patches. Which kernel/patch combo have you
been using?

> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core


-- 
Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build
  2007-12-28 11:04 [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build Jan Kiszka
  2007-12-28 11:14 ` Philippe Gerum
@ 2007-12-28 11:17 ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2007-12-28 11:17 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Xenomai-core

Jan Kiszka wrote:
> Index: xenomai/scripts/prepare-kernel.sh
> ===================================================================
> --- xenomai/scripts/prepare-kernel.sh	(Revision 3329)
> +++ xenomai/scripts/prepare-kernel.sh	(Arbeitskopie)
> @@ -428,9 +428,9 @@
>              patch_append init/Kconfig
>      fi
>  
> -    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_arch/Makefile; then
> +    if ! grep -q CONFIG_XENOMAI $linux_tree/arch/$linux_archsrc/Makefile; then
>  	p="drivers-\$(CONFIG_XENOMAI)		+= arch/$linux_archsrc/xenomai/"
> -	( echo ; echo $p ) | patch_append arch/$linux_arch/Makefile
> +	( echo ; echo $p ) | patch_append arch/$linux_archsrc/Makefile
>      fi
>  
>      patch_architecture_specific="n"
> 
> 

Ok, I forgot to forward port the changes from v2.4.x. The complete fix
is now merged into the trunk.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-28 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 11:04 [Xenomai-core] [PATCH] fix prepare-kernel.sh for x86 build Jan Kiszka
2007-12-28 11:14 ` Philippe Gerum
2007-12-28 11:17 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.