wok-current diff memtest/receipt @ rev 25511
memtest: 386 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 17:17:56 2023 +0000 (22 months ago) |
parents | c9972dbaa043 |
children | e92394c9bae5 |
line diff
1.1 --- a/memtest/receipt Sun Feb 12 10:26:56 2023 +0000 1.2 +++ b/memtest/receipt Mon Feb 13 17:17:56 2023 +0000 1.3 @@ -67,11 +67,15 @@ 1.4 compile_rules() 1.5 { 1.6 # Need CPUID instruction (586+ cpu) 1.7 - sed -i 's|64, MT_VERSION "." GIT_HASH|65, MT_VERSION ".SliTaz"|;s|"\.x32"|".586"|' app/display.c 1.8 - sed 's|gcc|gcc-83|' -i build32/Makefile 1.9 + sed -i 's|64, MT_VERSION "." GIT_HASH|65, MT_VERSION ".SliTaz"|;s|"\.x32"|".386"|' app/display.c 1.10 + sed 's|gcc|gcc-83|;s|march=i586|march=i486|' -i build32/Makefile 1.11 + patch -p0 < $stuff/memtest86\+-6-386.patch 1.12 cd build32 1.13 + make boot/startup.o 1.14 + objdump -t boot/startup.o | \ 1.15 + awk '/patch/ { print "sed -i \"s|" $5 "|0x" $1 "|\" ../boot/setup.S" }' | sh 1.16 make memtest.bin 1.17 - tune_lzma memtest.bin 122,mf=bt4 LC 3 PB 2 1.18 + tune_lzma memtest.bin 161,mf=bt2 LC 3 PB 2 1.19 } 1.20 1.21