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''
 | 
			
		||||
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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue