Generate initcode without compressed extensions
This commit is contained in:
		
							parent
							
								
									c24844714b
								
							
						
					
					
						commit
						f14aa421c4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -79,7 +79,7 @@ $K/kernel: $(OBJS) $K/kernel.ld $U/initcode
 | 
			
		|||
	$(OBJDUMP) -t $K/kernel | sed '1,/SYMBOL TABLE/d; s/ .* / /; /^$$/d' > $K/kernel.sym
 | 
			
		||||
 | 
			
		||||
$U/initcode: $U/initcode.S
 | 
			
		||||
	$(CC) $(CFLAGS) -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o
 | 
			
		||||
	$(CC) $(CFLAGS) -march=rv64g -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o
 | 
			
		||||
	$(LD) $(LDFLAGS) -N -e start -Ttext 0 -o $U/initcode.out $U/initcode.o
 | 
			
		||||
	$(OBJCOPY) -S -O binary $U/initcode.out $U/initcode
 | 
			
		||||
	$(OBJDUMP) -S $U/initcode.o > $U/initcode.asm
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue