mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Makefile: 'U'-prefixed submodule status
Covering all the bases, I guess? '-'-prefix is already correctly handled by the base case message. If the user somehow gets merge conflicts in abc, hopefully they know what they're doing.
This commit is contained in:
		
							parent
							
								
									b8777d7893
								
							
						
					
					
						commit
						03d9138744
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -780,6 +780,10 @@ check-git-abc:
 | 
			
		|||
		echo "Run 'git submodule update' to check out the correct version."; \
 | 
			
		||||
		echo "Note: If testing a different version of abc, call `git commit abc` in the Yosys source directory to update the expected commit."; \
 | 
			
		||||
		exit 1; \
 | 
			
		||||
	elif git -C "$(YOSYS_SRC)" submodule status abc 2>/dev/null | grep -q '^U'; then \
 | 
			
		||||
		echo "'abc' submodule has merge conflicts."; \
 | 
			
		||||
		echo "Please resolve merge conflicts before continuing."; \
 | 
			
		||||
		exit 1; \
 | 
			
		||||
	elif [ -f "$(YOSYS_SRC)/abc/.gitcommit" ] && grep -q '\$$Format:%[hH]\$$' "$(YOSYS_SRC)/abc/.gitcommit"; then \
 | 
			
		||||
		echo "Error: 'abc' is not configured as a git submodule."; \
 | 
			
		||||
		echo "To resolve this:"; \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue