2003/05/02 04:37:06
[org.ibex.core.git] / Makefile
index bc72ca8..6a843c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -151,7 +151,7 @@ $(target_bin): $(java_objects) $(cc_objects) $(c_objects) bin-$(platform)/org/xw
 bin-$(platform)/org/xwt/builtin.o: bin/org/xwt/builtin.xwar
        @echo "wrapping    .xwar -> .o:     bin/org/xwt/builtin.o"
        @(echo "unsigned int builtin_xwar_length = ";\
-         (du -b bin/org/xwt/builtin.xwar | sed "s_bin.*__");\
+         (wc -c bin/org/xwt/builtin.xwar | sed "s_bin.*__");\
          echo \;;\
          echo "unsigned char builtin_xwar[] = {";\
          hexdump -ve '"0x" 1/1 "%x,\n"' bin/org/xwt/builtin.xwar;\