mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:42:43 +00:00 
			
		
		
		
	 e4f05a9046
			
		
	
	
		e4f05a9046
		
	
	
	
	
		
			
			Use objcopy from the toolchain so that the changes introduced in
7236584 will succeed on macOS.
Fixes #8768.
		
	
			
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			160 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			160 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/sh
 | |
| tmp=$(mktemp)
 | |
| (cat kernel.map; printf '%b' '\0') > "$tmp"
 | |
| OBJCOPY="${OBJCOPY:-objcopy}"
 | |
| "$OBJCOPY" --update-section .ksyms="$tmp" Kernel
 | |
| rm -f "$tmp"
 |