vectors.pl is executable and asks shell for perl
This commit is contained in:
parent
171c2cc6b8
commit
8f63beaacb
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -82,6 +82,7 @@ ASFLAGS = -m32 -gdwarf-2 -Wa,-divide
|
||||||
# FreeBSD ld wants ``elf_i386_fbsd''
|
# FreeBSD ld wants ``elf_i386_fbsd''
|
||||||
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null | head -n 1)
|
LDFLAGS += -m $(shell $(LD) -V | grep elf_i386 2>/dev/null | head -n 1)
|
||||||
|
|
||||||
|
|
||||||
xv6.img: bootblock kernel
|
xv6.img: bootblock kernel
|
||||||
dd if=/dev/zero of=xv6.img count=10000
|
dd if=/dev/zero of=xv6.img count=10000
|
||||||
dd if=bootblock of=xv6.img conv=notrunc
|
dd if=bootblock of=xv6.img conv=notrunc
|
||||||
|
@ -133,7 +134,7 @@ tags: $(OBJS) entryother.S _init
|
||||||
etags *.S *.c
|
etags *.S *.c
|
||||||
|
|
||||||
vectors.S: vectors.pl
|
vectors.S: vectors.pl
|
||||||
perl vectors.pl > vectors.S
|
./vectors.pl > vectors.S
|
||||||
|
|
||||||
ULIB = ulib.o usys.o printf.o umalloc.o
|
ULIB = ulib.o usys.o printf.o umalloc.o
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue