Re: [Xenomai-core] kernel building problems with current svn and AT91

2007-03-15 Thread Steven Scholz
Steven Scholz wrote:
> I wrote,
> 
>> I just updated to the current xenomai svn.
>>
>> After patching linux 2.6.19 for AT91RM9200 a
>>
>>  make ARCH=arm CROSS_COMPILE=arm-softfloat-linux-gnu- at91rm9200ek_defconfig
>>
>> results in
>> ...
>> file arch/arm/xenomai/Kconfig already scanned?
>> make[1]: *** [at91rm9200ek_defconfig] Error 1
>> make: *** [at91rm9200ek_defconfig] Error 2
> 
> I used
> 
> scripts/prepare-kernel.sh --linux=linux-2.6.19 --arch=arm
> --outpatch=xenomai-svn-2007-03-15-2.6.19-arm.patch tmp/ --verbose
> 
> 
> to generate the patch.
> 
> And the patch contains duplicate lines like
> 
> --- linux/arch/arm/Makefile   2006-11-29 22:57:37.0 +0100
> +++ linux-patched/arch/arm/Makefile   2007-03-15 10:01:23.0 +0100
> @@ -236,3 +236,13 @@
>echo  '  (distribution) /sbin/installkernel or'
>echo  '  install to $$(INSTALL_PATH) and run lilo'
>  endef
> +
> +drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
> +
> +drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
> +
> +drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
> +
> +drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
> +
> +drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
> 
> and the whole block "menu "Real-time sub-system" in init/KConfig appears
> five times!

Nevermind!!!

I did not realize that I have to clean the tmp/ dir before creating a new
patch using --outpatch!!!

Steven

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


Re: [Xenomai-core] kernel building problems with current svn and AT91

2007-03-15 Thread Steven Scholz
I wrote,

> I just updated to the current xenomai svn.
> 
> After patching linux 2.6.19 for AT91RM9200 a
> 
>  make ARCH=arm CROSS_COMPILE=arm-softfloat-linux-gnu- at91rm9200ek_defconfig
> 
> results in
> ...
> file arch/arm/xenomai/Kconfig already scanned?
> make[1]: *** [at91rm9200ek_defconfig] Error 1
> make: *** [at91rm9200ek_defconfig] Error 2

I used

scripts/prepare-kernel.sh --linux=linux-2.6.19 --arch=arm
--outpatch=xenomai-svn-2007-03-15-2.6.19-arm.patch tmp/ --verbose


to generate the patch.

And the patch contains duplicate lines like

--- linux/arch/arm/Makefile 2006-11-29 22:57:37.0 +0100
+++ linux-patched/arch/arm/Makefile 2007-03-15 10:01:23.0 +0100
@@ -236,3 +236,13 @@
   echo  '  (distribution) /sbin/installkernel or'
   echo  '  install to $$(INSTALL_PATH) and run lilo'
 endef
+
+drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
+
+drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
+
+drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
+
+drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/
+
+drivers-$(CONFIG_XENOMAI) += arch/arm/xenomai/

and the whole block "menu "Real-time sub-system" in init/KConfig appears
five times!

--
Steven

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