From 2c2fc50d06cf18f7f5120a201e101aaa42f070c1 Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Fri, 3 Mar 2017 15:37:01 +0100 Subject: [PATCH] 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 --- include/image-commands.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image-commands.mk b/include/image-commands.mk index c513f19d3a..c1d89825a3 100644 --- a/include/image-commands.mk +++ b/include/image-commands.mk @@ -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 -- 2.30.2