summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/port/portmkfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/src/9/port/portmkfile b/sys/src/9/port/portmkfile
index c796452db..99ff194ea 100644
--- a/sys/src/9/port/portmkfile
+++ b/sys/src/9/port/portmkfile
@@ -88,11 +88,10 @@ devsdp.$O: ../port/thwack.h
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