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. > >VMLINUX_SIZE is blank when using busybox tools. > >The underlying behavioral wonkiness in busybox "cut" is: > >$ busybox wc -c vmlinux > 3335777 vmlinux >$ wc -c vmlinux >3335777 vmlinux And yes, that should be fixed too, let's just do away with the space offsets alltogether (but that _will_ break folks who | cut -c10- wc of course). _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox