• Minor code comment improvements and reformatting.
This commit is contained in:
		
							parent
							
								
									abaa655d4a
								
							
						
					
					
						commit
						55b839548e
					
				| @ -1,9 +1,9 @@ | |||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 | 
 | ||||||
| # Grab everything after the '=' sign | # Grab everything after the '=' character | ||||||
| DOWNLOAD_URL=$(grep -i KERNEL_SOURCE_URL .config | cut -f2 -d'=') | DOWNLOAD_URL=$(grep -i KERNEL_SOURCE_URL .config | cut -f2 -d'=') | ||||||
| 
 | 
 | ||||||
| # Grab everything after the last '/' | # Grab everything after the last '/' character | ||||||
| ARCHIVE_FILE=${DOWNLOAD_URL##*/} | ARCHIVE_FILE=${DOWNLOAD_URL##*/} | ||||||
| 
 | 
 | ||||||
| cd source | cd source | ||||||
| @ -17,7 +17,7 @@ rm -rf ../work/kernel | |||||||
| mkdir ../work/kernel | mkdir ../work/kernel | ||||||
| 
 | 
 | ||||||
| # Extract kernel to folder 'kernel' | # Extract kernel to folder 'kernel' | ||||||
| # Full path will be something like, kernel\linux-3.16 | # Full path will be something like 'kernel\linux-3.16.1' | ||||||
| tar -xvf $ARCHIVE_FILE -C ../work/kernel | tar -xvf $ARCHIVE_FILE -C ../work/kernel | ||||||
| 
 | 
 | ||||||
| cd .. | cd .. | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| cd work/kernel | cd work/kernel | ||||||
| 
 | 
 | ||||||
| # Change to the first directory ls finds, e.g. linux-3.16 | # Change to the first directory ls finds, e.g. 'linux-3.16.1' | ||||||
| cd $(ls -d *) | cd $(ls -d *) | ||||||
| 
 | 
 | ||||||
| # Cleans up the kernel sources, including configuration files | # Cleans up the kernel sources, including configuration files | ||||||
|  | |||||||
| @ -1,9 +1,9 @@ | |||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 | 
 | ||||||
| # Grab everything after the '=' sign | # Grab everything after the '=' character | ||||||
| DOWNLOAD_URL=$(grep -i BUSYBOX_SOURCE_URL .config | cut -f2 -d'=') | DOWNLOAD_URL=$(grep -i BUSYBOX_SOURCE_URL .config | cut -f2 -d'=') | ||||||
| 
 | 
 | ||||||
| # Grab everything after the last '/' | # Grab everything after the last '/' character | ||||||
| ARCHIVE_FILE=${DOWNLOAD_URL##*/} | ARCHIVE_FILE=${DOWNLOAD_URL##*/} | ||||||
| 
 | 
 | ||||||
| cd source | cd source | ||||||
| @ -17,7 +17,7 @@ rm -rf ../work/busybox | |||||||
| mkdir ../work/busybox | mkdir ../work/busybox | ||||||
| 
 | 
 | ||||||
| # Extract busybox to folder 'busybox' | # Extract busybox to folder 'busybox' | ||||||
| # Full path will be something like, busybox\busybox-1.22.1 | # Full path will be something like 'busybox\busybox-1.22.1' | ||||||
| tar -xvf $ARCHIVE_FILE -C ../work/busybox | tar -xvf $ARCHIVE_FILE -C ../work/busybox | ||||||
| 
 | 
 | ||||||
| cd .. | cd .. | ||||||
|  | |||||||
| @ -2,7 +2,7 @@ | |||||||
| 
 | 
 | ||||||
| cd work/busybox | cd work/busybox | ||||||
| 
 | 
 | ||||||
| # Change to the first directory ls finds, e.g/ busybox-1.22.1 | # Change to the first directory ls finds, e.g. 'busybox-1.22.1' | ||||||
| cd $(ls -d *) | cd $(ls -d *) | ||||||
| 
 | 
 | ||||||
| # Remove previously generated artefacts | # Remove previously generated artefacts | ||||||
| @ -19,7 +19,7 @@ sed -i "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" .config | |||||||
| make busybox | make busybox | ||||||
| 
 | 
 | ||||||
| # Create the symlinks for busybox | # Create the symlinks for busybox | ||||||
| # It uses the file busybox.links for this | # It uses the file 'busybox.links' for this | ||||||
| make install | make install | ||||||
| 
 | 
 | ||||||
| cd ../../.. | cd ../../.. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user