summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2018-08-30 13:36:07 -0400
committerFrans Kaashoek <[email protected]>2018-08-30 13:36:07 -0400
commit8f63beaacb158f24ef7ff2e1f3974702c172d295 (patch)
tree6af584e7deb932406da1467de8b51b6310af1fb3
parent171c2cc6b8fd59b69a5b461a3c74eec6569662c8 (diff)
downloadxv6-labs-8f63beaacb158f24ef7ff2e1f3974702c172d295.tar.gz
xv6-labs-8f63beaacb158f24ef7ff2e1f3974702c172d295.tar.bz2
xv6-labs-8f63beaacb158f24ef7ff2e1f3974702c172d295.zip
vectors.pl is executable and asks shell for perl
-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