summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzhu733756 <talonzhu@yunify.com>2021-09-29 17:56:08 +0800
committerzhu733756 <talonzhu@yunify.com>2021-10-01 16:03:39 +0800
commitda3eaede6c846f769ed5f3ea65b6fa30a8a07e09 (patch)
tree578368af41c4e007450aa464e029e273039b136f /Makefile
parentfix lint wranning (diff)
downloadkubeedge-da3eaede6c846f769ed5f3ea65b6fa30a8a07e09.tar.gz
better code style
Signed-off-by: zhu733756 <talonzhu@yunify.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 32ff80a8e..60f7c859f 100644
--- a/Makefile
+++ b/Makefile
@@ -178,24 +178,24 @@ crossbuild: clean
hack/make-rules/crossbuild.sh $(WHAT) $(GOARM)
endif
-crdVersions ?= v1
-crdOutputs ?= build/crds
-devicesVersion ?= v1alpha2
-reliablesyncsVersion ?= v1alpha1
-listCRDParams := crdVersions crdOutputs devicesVersion reliablesyncsVersion
+CRD_VERSIONS=v1
+CRD_OUTPUTS=build/crds
+DEVICES_VERSION=v1alpha2
+RELIABLESYNCS_VERSION=v1alpha1
+listCRDParams := CRD_VERSIONS CRD_OUTPUTS DEVICES_VERSION RELIABLESYNCS_VERSION
define GENERATE_CRDS_HELP_INFO
# generate crds.
#
# Args:
-# crdVersions, default: v1
-# crdOutputs, default: build/crd
-# devicesVersion, default: v1alpha2
-# reliablesyncsVersion, default: v1alpha1
+# CRD_VERSIONS, default: v1
+# CRD_OUTPUTS, default: build/crd
+# DEVICES_VERSION, default: v1alpha2
+# RELIABLESYNCS_VERSION, default: v1alpha1
#
# Example:
# make generate
-# make generate -e crdVersions=v1 -e crdOutputs=build/crds
+# make generate -e CRD_VERSIONS=v1 -e CRD_OUTPUTS=build/crds
#
endef
.PHONY: generate