wok-current diff memtest/receipt @ rev 15188
Add memtest-serial
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 25 18:09:21 2013 +0000 (2013-08-25) |
parents | 8d9ce0de31e0 |
children | 8ac80fe62efb |
line diff
1.1 --- a/memtest/receipt Sat Jul 13 14:32:56 2013 +0200 1.2 +++ b/memtest/receipt Sun Aug 25 18:09:21 2013 +0000 1.3 @@ -19,9 +19,11 @@ 1.4 cd $src 1.5 make 1.6 cp $stuff/*.S $stuff/pack . 1.7 - cc -o unpack.o -Wa,-a=unpack.lst -c unpack.S 1.8 - objcopy -O binary unpack.o unpack.bin 1.9 - ./pack --build unpack.bin 1.10 + for i in bootloader unpack ; do 1.11 + cc -o $i.o -Wa,-a=$i.lst -c $i.S 1.12 + objcopy -O binary $i.o $i.bin 1.13 + done 1.14 + ./pack --build bootloader.bin unpack.bin 1.15 ./pack memtest.bin memtest.packed 1.16 sed -i -e 's/SERIAL_CONSOLE_DEFAULT 0/SERIAL_CONSOLE_DEFAULT 1/' \ 1.17 -e 's/SERIAL_BAUD_RATE 9600/SERIAL_BAUD_RATE 115200/' config.h 1.18 @@ -35,13 +37,5 @@ 1.19 genpkg_rules() 1.20 { 1.21 mkdir -p $fs/boot 1.22 - cp $src/memtest.packed-115200 $fs/boot/memtest 1.23 + cp $src/memtest.packed $fs/boot/memtest 1.24 } 1.25 - 1.26 -# Pre and post install commands for Tazpkg. 1.27 -post_install() 1.28 -{ 1.29 - cat <<EOT 1.30 -Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8 1.31 -EOT 1.32 -}