mirror of https://github.com/zeldaret/oot.git
				
				
				
			Comment on objcopy elf -> rom step
This commit is contained in:
		
							parent
							
								
									d04725480d
								
							
						
					
					
						commit
						b771b49efd
					
				
							
								
								
									
										1
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										1
									
								
								Makefile
								
								
								
								
							|  | @ -849,6 +849,7 @@ else | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| $(ROM): $(ELF) | $(ROM): $(ELF) | ||||||
|  | # Here we extract the value of the _RomSize symbol to know to what size the ROM should be padded to
 | ||||||
| 	$(OBJCOPY) --pad-to 0x$$($(OBJDUMP) -t $< | grep _RomSize | cut -d ' ' -f 1) -O binary $< $@ | 	$(OBJCOPY) --pad-to 0x$$($(OBJDUMP) -t $< | grep _RomSize | cut -d ' ' -f 1) -O binary $< $@ | ||||||
| 	$(PYTHON) -m ipl3checksum sum --cic $(CIC) --update $@ | 	$(PYTHON) -m ipl3checksum sum --cic $(CIC) --update $@ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Tharo
						Tharo