scripts/Makefile.lib dopisuje do vmlinux.bin.lzma rozmiar pliku przy pomocy komendy echo. niestety rozne shelle roznie to interpretuja i wychodzi tak jak widzimy (zwis przy bootowaniu).
$ /bin/zsh -c 'echo -ne \\x00\\x6d\\xca\\x00 > test'; hexdump -C test 00000000 00 6d ca 00 |.m..| $ /bin/bash -c 'echo -ne \\x00\\x6d\\xca\\x00 > test'; hexdump -C test 00000000 00 6d ca 00 |.m..| $ /bin/sh -c 'echo -ne \\x00\\x6d\\xca\\x00 > test'; hexdump -C test 00000000 5c 78 30 30 5c 78 36 64 5c 78 63 61 5c 78 30 30 |\x00\x6d\xca\x00| ^^^^ i tu bylimsy w dupie :) $ /bin/tcsh -c 'echo -ne \\x00\\x6d\\xca\\x00 > test'; hexdump -C test 00000000 2d 6e 65 20 5c 78 30 30 5c 78 36 64 5c 78 63 61 |-ne \x00\x6d\xca| 00000010 5c 78 30 30 0a |\x00.| wymusznie w makefile /bin/echo pomaga. _______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
