[U-Boot-Users] MAKEALL patch

Michal Simek monstr at seznam.cz
Sun Aug 5 16:50:38 CEST 2007


Hi Wolfgang,

> What is the specific bug you intend to fix here?  Using  ppc_8xx-size
> in  case  CROSS_COMPILE is not set is not worse than using the native
> "size" command, it seems. Actually, given the fact that the  majority
> supported of boards are PowerPC, it is right in most cases.
>
> So why do you think it should be changed?

I think size utility do the same function as ppc_8xx-size.
I tried 4 cross tools and the result is the same. (Logs are below)
And in man page you can find: "size can automatically recognize many 
formats" in --target option.

>From my point of view is size utility better than error message.
And I think that many developers use different cross tools than ppc_8xx-.

Best regards,
Michal Simek

microblaze at monstr u-boot-microblaze]$ ./MAKEALL xupv2p
Configuring for xupv2p board...
./MAKEALL: line 351: ppc_8xx-size: command not found

[microblaze at monstr u-boot-microblaze]$ ./MAKEALL xupv2p
Configuring for xupv2p board...
   text    data     bss     dec     hex filename
  89326   21479  214916  325721   4f859 ./u-boot

[microblaze at monstr u-boot-microblaze]$ size u-boot
   text    data     bss     dec     hex filename
  89326   21479  214916  325721   4f859 u-boot

[microblaze at monstr u-boot-microblaze]$ microblaze-uclinux-size u-boot
   text    data     bss     dec     hex filename
  89326   21479  214916  325721   4f859 u-boot

[microblaze at monstr u-boot-microblaze]$ powerpc-405-linux-gnu-size u-boot
   text    data     bss     dec     hex filename
  89326   21479  214916  325721   4f859 u-boot
[microblaze at monstr u-boot-microblaze]$

[microblaze at monstr bin]$ powerpc-linux-uclibc-size  u-boot
   text    data     bss     dec     hex filename
  89326   21479  214916  325721   4f859 u-boot
[microblaze at monstr bin]$




More information about the U-Boot mailing list