This patch makes specifying NETGEAR_REGION optional, in which case mkchkimage will default to region 1 (WW). Signed-off-by: Joseph C. Lehner <[email protected]>
@@ -49,7 +49,7 @@ define Build/netgear-chk
-o [email protected] \
-k $@ \
-b $(NETGEAR_BOARD_ID) \
- -r $(NETGEAR_REGION)
+ $(if $(NETGEAR_REGION),-r $(NETGEAR_REGION),)
mv [email protected] $@
endef