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:
parent
9014360921
commit
3c36cadefd
1 changed files with 2 additions and 2 deletions
|
@ -139,10 +139,10 @@ initcode.out: init9.$O initcode.$O /$objtype/lib/libc.a
|
||||||
$LD -l -R1 -s -o $target $prereq
|
$LD -l -R1 -s -o $target $prereq
|
||||||
|
|
||||||
rebootcode.out: rebootcode.$O
|
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
|
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
|
sd53c8xx.i: sd53c8xx.n
|
||||||
aux/na $prereq > $target
|
aux/na $prereq > $target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue