ref: feb7702c9eba0eeb420dd08cbcdb4d922c1ba49c
parent: ff4daa7e93f4ea09506276ecdb69fa1cca19a7a7
author: cinap_lenrek <[email protected]>
date: Sat Dec 13 16:44:51 EST 2014
kernel: correct dependency for printstub.$O instead of print.$O
--- a/sys/src/9/port/portmkfile
+++ b/sys/src/9/port/portmkfile
@@ -88,11 +88,10 @@
devproc.$O sysproc.$O: /sys/include/tos.h
devproc.$O edf.$O proc.$O: /sys/include/trace.h
-boot$CONF.out: $CONF print.$O $BOOTDIR/boot.c $BOOTLIB
+boot$CONF.out: $CONF printstub.$O $BOOTLIB
$BOOTDIR/mkboot $CONF > boot$CONF.c
$CC $CFLAGS boot$CONF.c
- $CC $CFLAGS ../boot/printstub.c
- $LD -o boot$CONF.out boot$CONF.$O $BOOTLIB printstub.$O
+ $LD -o boot$CONF.out boot$CONF.$O printstub.$O $BOOTLIB
bootfs.paq: ../port/bootfs.proto
mkdir -p bootfs