Re: [Xenomai-core] [PATCH] prepare-kernel.sh breaks linux-2.4 drivers/Makefile

2006-10-27 Thread Wolfgang Grandegger

Andrew Dennison wrote:

Running prepare-kernel on the denx 2.4 kernel adds the following line

mod-subdirs := xenomai

This prevents all other mod-subdirs under drivers from building.


What does not build. Non-Xenomai drivers as modules?


Patch is against r1273 but still seems to apply (and be required) on head.


Going to check it soon.

Thanks.

Wolfgang.


Andrew




diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index fbc91ce..ca87e7f 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -455,7 +455,7 @@ EOF
patch_ed drivers/Makefile EOF
 /include \$(TOPDIR)\/Rules.make
 i
-mod-subdirs := xenomai
+mod-subdirs += xenomai
 subdir-\$(CONFIG_XENOMAI) += xenomai
 
 .





___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


Re: [Xenomai-core] [PATCH] prepare-kernel.sh breaks linux-2.4 drivers/Makefile

2006-10-27 Thread Wolfgang Grandegger

Wolfgang Grandegger wrote:

Andrew Dennison wrote:

Running prepare-kernel on the denx 2.4 kernel adds the following line

mod-subdirs := xenomai

This prevents all other mod-subdirs under drivers from building.


What does not build. Non-Xenomai drivers as modules? 
Patch is against r1273 but still seems to apply (and be required) on 
head.


Going to check it soon.


It's obviously a bug and could cause modules not to get build under 
certain conditions. I was just wondering why I have not already realized 
it in the past.


Thanks.

Wolfgang.



Thanks.

Wolfgang.


Andrew




diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index fbc91ce..ca87e7f 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -455,7 +455,7 @@ EOF
 patch_ed drivers/Makefile EOF
 /include \$(TOPDIR)\/Rules.make
 i
-mod-subdirs := xenomai
+mod-subdirs += xenomai
 subdir-\$(CONFIG_XENOMAI) += xenomai
 
 .





___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core



___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core





___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


[Xenomai-core] [PATCH] prepare-kernel.sh breaks linux-2.4 drivers/Makefile

2006-10-26 Thread Andrew Dennison

Running prepare-kernel on the denx 2.4 kernel adds the following line

mod-subdirs := xenomai

This prevents all other mod-subdirs under drivers from building.

Patch is against r1273 but still seems to apply (and be required) on head.

Andrew
diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index fbc91ce..ca87e7f 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -455,7 +455,7 @@ EOF
 	patch_ed drivers/Makefile EOF
 /include \$(TOPDIR)\/Rules.make
 i
-mod-subdirs := xenomai
+mod-subdirs += xenomai
 subdir-\$(CONFIG_XENOMAI) += xenomai
 
 .
___
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core