Kmesh/Remove-useless-tag-in-Makefile.patch

32 lines
757 B
Diff
Raw Normal View History

From d568d16d96230eedc20d3c75da75e41788f8728b Mon Sep 17 00:00:00 2001
From: weli-l <1289113577@qq.com>
Date: Thu, 11 Jul 2024 14:40:52 +0800
Subject: [PATCH] Remove useless tag in Makefile
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 067208b..c65eae9 100644
--- a/Makefile
+++ b/Makefile
@@ -61,10 +61,10 @@ ifeq ($(TARGET),)
endif
# If tag not explicitly set, default to the git sha.
-TAG ?= $(shell git rev-parse --verify HEAD)
-ifeq ($(TAG),)
- $(error "TAG cannot be empty")
-endif
+#TAG ?= $(shell git rev-parse --verify HEAD)
+#ifeq ($(TAG),)
+# $(error "TAG cannot be empty")
+#endif
TMP_FILES := bpf/kmesh/bpf2go/bpf2go.go \
config/kmesh_marcos_def.h \
--
2.34.1