mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			459 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			459 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #! /bin/sh
 | |
| 
 | |
| # Setup for compiling with GCC/G++ for Linux
 | |
| 
 | |
| if [ "$CHECKED" = "1" ]; then
 | |
|     echo Checked debug build enabled.
 | |
| else
 | |
|     echo Release build enabled.
 | |
| fi
 | |
| 
 | |
| export MAKESTARTUP=$SCITECH/makedefs/gcc_linux.mk
 | |
| export INCLUDE="include;$SCITECH/include;$PRIVATE/include"
 | |
| export USE_LINUX=1
 | |
| 
 | |
| if [ "x$LIBC" = x ]; then
 | |
| 	echo "GCC Linux console compilation environment set up (glib)"
 | |
| else
 | |
| 	echo "GCC Linux console compilation environment set up (libc5)"
 | |
| fi
 |