All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] kernel building problems with current svn and AT91
@ 2007-03-15  9:07 Steven Scholz
  2007-03-15  9:17 ` Steven Scholz
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2007-03-15  9:07 UTC (permalink / raw)
  To: xenomai

Hi,

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

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
file arch/arm/xenomai/Kconfig already scanned?
make[1]: *** [at91rm9200ek_defconfig] Error 1
make: *** [at91rm9200ek_defconfig] Error 2

--
Steven


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

* Re: [Xenomai-core] kernel building problems with current svn and AT91
  2007-03-15  9:07 [Xenomai-core] kernel building problems with current svn and AT91 Steven Scholz
@ 2007-03-15  9:17 ` Steven Scholz
  2007-03-15  9:30   ` Steven Scholz
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2007-03-15  9:17 UTC (permalink / raw)
  Cc: xenomai

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.000000000 +0100
+++ linux-patched/arch/arm/Makefile	2007-03-15 10:01:23.000000000 +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


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

* Re: [Xenomai-core] kernel building problems with current svn and AT91
  2007-03-15  9:17 ` Steven Scholz
@ 2007-03-15  9:30   ` Steven Scholz
  0 siblings, 0 replies; 3+ messages in thread
From: Steven Scholz @ 2007-03-15  9:30 UTC (permalink / raw)
  Cc: xenomai

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.000000000 +0100
> +++ linux-patched/arch/arm/Makefile	2007-03-15 10:01:23.000000000 +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


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

end of thread, other threads:[~2007-03-15  9:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15  9:07 [Xenomai-core] kernel building problems with current svn and AT91 Steven Scholz
2007-03-15  9:17 ` Steven Scholz
2007-03-15  9:30   ` Steven Scholz

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.