summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a31b01d..d17f1fa 100644
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,7 @@ ASFLAGS = -m32 -gdwarf-2 -Wa,-divide
# FreeBSD ld wants ``elf_i386_fbsd''
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null | head -n 1)
+
xv6.img: bootblock kernel
dd if=/dev/zero of=xv6.img count=10000
dd if=bootblock of=xv6.img conv=notrunc
@@ -133,7 +134,7 @@ tags: $(OBJS) entryother.S _init
etags *.S *.c
vectors.S: vectors.pl
- perl vectors.pl > vectors.S
+ ./vectors.pl > vectors.S
ULIB = ulib.o usys.o printf.o umalloc.o