vectors.pl is executable and asks shell for perl

This commit is contained in:
Frans Kaashoek 2018-08-30 13:36:07 -04:00
parent 171c2cc6b8
commit 8f63beaacb

View file

@ -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