pc: fix mp boot regression due mistake in mkfile

the previous mkfile had a sneaky hack that would use
sed to delete the first 2 lines of hex output to strip
the 32 byte long a.out header for apbootstrap and rebootcode.

use 8l -H3 flag to strip the header from the output file.
This commit is contained in:
cinap_lenrek 2020-03-29 00:44:09 +01:00
parent 9014360921
commit 3c36cadefd

View file

@ -139,10 +139,10 @@ initcode.out: init9.$O initcode.$O /$objtype/lib/libc.a
$LD -l -R1 -s -o $target $prereq
rebootcode.out: rebootcode.$O
$LD -l -R4 -s -o $target -T$REBOOTADDR $prereq
$LD -l -R4 -s -o $target -T$REBOOTADDR -H3 $prereq
apbootstrap.out: apbootstrap.$O
$LD -l -R4 -s -o $target -T$APBOOTSTRAP $prereq
$LD -l -R4 -s -o $target -T$APBOOTSTRAP -H3 $prereq
sd53c8xx.i: sd53c8xx.n
aux/na $prereq > $target