+++ Bob Dunlop [2010-04-08 08:47 +0100]:
> On Thu, Apr 08 at 09:39, Charles Manning wrote:
> > During the initrd building, the building of makedev failed due to the compiler
> > being -Werror and system() return value being ignored. I got past that with
> > the following patch. I'm sure this should rather be fixed elsewhere.
>
> A simpler patch would be to replace system() by calling sync() direct.
>
> $ diff -u makedevs.c~ makedevs.c
> --- makedevs.c~ 2010-04-08 08:55:31.000000000 +1200
> +++ makedevs.c 2010-04-08 08:56:56.608535407 +1200
> @@ -528,7 +528,7 @@
> }
> fclose(table);
>
> - system("/bin/sync");
> + sync();
>
> return 0;
> }
>
>
> As for the build system in general I can't help as we run our own custom
> build system. I do have a last version from CVS YAFFS2 with a 2.6.33
> kernel running on a Balloon2 board so I can confirm it can be done.
Is that available somewhere? It's useful to know that someone is
keeping the balloon2 kernels up to date. I expect the balloonboard.org
version is now hopelessly ancient. I have started removing balloon2
support from the current svn build as it is no longer being
developed/maintained.
Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/