23 lines
		
	
	
		
			781 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			781 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| 
								 | 
							
								TOOLCHAIN_PATH := /Users/wangzhongjie/Library/OpenHarmony/Sdk/9/toolchains
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								logs:
							 | 
						||
| 
								 | 
							
								    cd $(TOOLCHAIN_PATH) && \
							 | 
						||
| 
								 | 
							
								    ./hdc file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/logs /Users/wangzhongjie/Desktop/log
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								hilog:
							 | 
						||
| 
								 | 
							
								    cd $(TOOLCHAIN_PATH) && \
							 | 
						||
| 
								 | 
							
								    ./hdc kill && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell "tar -czvf /data/log.tar.gz /data/log/" && \
							 | 
						||
| 
								 | 
							
								    ./hdc file recv /data/log.tar.gz /Users/wangzhongjie/Desktop/log && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell "rm -rf /data/log.tar.gz"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								open:
							 | 
						||
| 
								 | 
							
								    cd $(TOOLCHAIN_PATH) && \
							 | 
						||
| 
								 | 
							
								    ./hdc kill && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -w stop && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -r && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -w start -l 100M -m none && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -Q pidoff && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -p off && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -b D && \
							 | 
						||
| 
								 | 
							
								    ./hdc shell hilog -w start -t kmsg -m none
							 |