mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	Based on 4.4-rc3. Runtime tested on MIPS. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47701
		
			
				
	
	
		
			12 lines
		
	
	
		
			397 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			397 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/scripts/setlocalversion
 | 
						|
+++ b/scripts/setlocalversion
 | 
						|
@@ -165,7 +165,7 @@ else
 | 
						|
 	# annotated or signed tagged state (as git describe only
 | 
						|
 	# looks at signed or annotated tags - git tag -a/-s) and
 | 
						|
 	# LOCALVERSION= is not specified
 | 
						|
-	if test "${LOCALVERSION+set}" != "set"; then
 | 
						|
+	if test "${CONFIG_LOCALVERSION+set}" != "set"; then
 | 
						|
 		scm=$(scm_version --short)
 | 
						|
 		res="$res${scm:++}"
 | 
						|
 	fi
 |