On Monday 08 March 2010 13:03:03 Bernhard Reutner-Fischer wrote:
> On Sun, Mar 07, 2010 at 06:48:50PM -0600, Rob Landley wrote:
> >The busybox "wc" command doesn't work to build mips in 2.6.33.  Kernel
> >commit
> >
> >VMLINUX_SIZE := $(shell wc -c $(objtree)/$(KBUILD_IMAGE) 2>/dev/null | \
> >
> >     cut -d' ' -f1)
> 
> cool stuff. I guess
> VMLINUX_SIZE := $(firstword $(shell wc -c $(objtree)/$(KBUILD_IMAGE)
> >2>/dev/null)) or 'stat -c %s' would have been too simple? Perhaps you can
> suggest this to the kernel folks.

`stat` is not in POSIX, so this would be an annoying regression

sending the output through `echo` would also normalize the whitespace
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to