mirror of
				https://gitlab.com/bztsrc/bootboot.git
				synced 2023-02-13 20:54:32 -05:00 
			
		
		
		
	Clean up
This commit is contained in:
		
							parent
							
								
									2def7a7d9a
								
							
						
					
					
						commit
						3794ee43da
					
				
					 3 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -14,9 +14,9 @@ all: ../mkbootimg/mkbootimg initdir disk
 | 
			
		|||
initdir:
 | 
			
		||||
	@mkdir initrd initrd/sys 2>/dev/null | true
 | 
			
		||||
ifeq ($(PLATFORM),x86)
 | 
			
		||||
	cp ../mykernel/mykernel.x86_64.elf initrd/sys/core
 | 
			
		||||
	cp ../mykernel/c/mykernel.x86_64.elf initrd/sys/core
 | 
			
		||||
else
 | 
			
		||||
	cp ../mykernel/mykernel.aarch64.elf initrd/sys/core
 | 
			
		||||
	cp ../mykernel/c/mykernel.aarch64.elf initrd/sys/core
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# create hybrid disk / cdrom image or ROM image
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,6 +22,7 @@ megfelelően, vagy csak módosítsd az mkbootimg.json fájlt és adj hozzá reko
 | 
			
		|||
Fordítás
 | 
			
		||||
--------
 | 
			
		||||
 | 
			
		||||
Először is mozgasd át ezt az egész `images` mappát a helyi repód master ága alá.
 | 
			
		||||
Lásd mkbootimg.json. Nézz bele a Makefile-ba is, az elején fogsz látni konfigurálható változókat.
 | 
			
		||||
 | 
			
		||||
- PLATFORM: vagy "x86" vagy "rpi", ez választja ki, melyik lemezképet generálja
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,6 +22,7 @@ modify mkbootimg.json and add more elements to the `partitions` array.
 | 
			
		|||
Compilation
 | 
			
		||||
-----------
 | 
			
		||||
 | 
			
		||||
First, move this `images` directory to your local master branch of the repository.
 | 
			
		||||
See mkbootimg.json. Look at the beginning of the Makefile too, you'll find configurable variables there.
 | 
			
		||||
 | 
			
		||||
- PLATFORM: either "x86" or "rpi", this selects which disk image to create
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue