23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			371 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								source "$PKG_COMMON"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								configure()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    "../libffi-$version/configure" \
							 | 
						||
| 
								 | 
							
								        --target="$cfg_target_canonical" \
							 | 
						||
| 
								 | 
							
								        --host="$cfg_target_canonical" \
							 | 
						||
| 
								 | 
							
								        --build="$cfg_host_canonical" \
							 | 
						||
| 
								 | 
							
								        --prefix="$cfg_dir_toolchain_sysroot/usr" \
							 | 
						||
| 
								 | 
							
								        --disable-static \
							 | 
						||
| 
								 | 
							
								        --enable-shared
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								build()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    $cmd_make
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								host_install()
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    $cmd_make install
							 | 
						||
| 
								 | 
							
								}
							 |