build: make NETGEAR_REGION optional in netgear-chk
This patch makes specifying NETGEAR_REGION optional, in which case mkchkimage will default to region 1 (WW). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
This commit is contained in:
		 Joseph C. Lehner
					Joseph C. Lehner
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							38bee61dab
						
					
				
				
					commit
					2c2fc50d06
				
			| @@ -49,7 +49,7 @@ define Build/netgear-chk | ||||
| 		-o $@.new \ | ||||
| 		-k $@ \ | ||||
| 		-b $(NETGEAR_BOARD_ID) \ | ||||
| 		-r $(NETGEAR_REGION) | ||||
| 		$(if $(NETGEAR_REGION),-r $(NETGEAR_REGION),) | ||||
| 	mv $@.new $@ | ||||
| endef | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user