Mike Frysinger schrieb: > 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
if stat does not work ls will do: 'ls -1s' re, wh _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox