You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					33 lines
				
				807 B
			
		
		
			
		
	
	
					33 lines
				
				807 B
			| 
								 
											6 years ago
										 
									 | 
							
								#!/bin/bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# from http://www.esp8266.com/wiki/doku.php?id=setup-osx-compiler-esp8266
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								brew install gnu-sed --with-default-names
							 | 
						||
| 
								 | 
							
								brew tap homebrew/dupes
							 | 
						||
| 
								 | 
							
								brew install gperf
							 | 
						||
| 
								 | 
							
								brew install grep
							 | 
						||
| 
								 | 
							
								brew install autoconf
							 | 
						||
| 
								 | 
							
								brew install binutils
							 | 
						||
| 
								 | 
							
								brew install gawk
							 | 
						||
| 
								 | 
							
								brew install wget
							 | 
						||
| 
								 | 
							
								brew install automake
							 | 
						||
| 
								 | 
							
								brew install libtool
							 | 
						||
| 
								 | 
							
								brew install help2man
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								brew uninstall gperf
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								hdiutil create esp-open-sdk.dmg -volname "esp-open-sdk" -size 10g -fs "Case-sensitive HFS+"
							 | 
						||
| 
								 | 
							
								hdiutil mount esp-open-sdk.dmg
							 | 
						||
| 
								 | 
							
								ln -s /Volumes/esp-open-sdk esp-open-sdk
							 | 
						||
| 
								 | 
							
								cd esp-open-sdk
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								git init
							 | 
						||
| 
								 | 
							
								git remote add origin https://github.com/pfalcon/esp-open-sdk.git
							 | 
						||
| 
								 | 
							
								git fetch origin
							 | 
						||
| 
								 | 
							
								git checkout 03f5e898a059451ec5f3de30e7feff30455f7cec
							 | 
						||
| 
								 | 
							
								git submodule init
							 | 
						||
| 
								 | 
							
								git submodule update --recursive
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								cp ../python2_make.py .
							 | 
						||
| 
								 | 
							
								python2 python2_make.py 'make STANDALONE=y'
							 |