dist: using DIST to judge dist release

In dist/Makefile, KDIST is null. So, let's using DIST to judge dist
release.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
Jianping Liu 2024-09-23 17:34:38 +08:00
parent ad3f68afd9
commit 6325da052c
1 changed files with 2 additions and 2 deletions

4
dist/Makefile vendored
View File

@ -14,7 +14,7 @@ endif
### Downstream marker, update this when forking to another downstream
KDIST =
ifeq ($(KDIST),oc9)
ifeq ($(DIST),oc9)
### Vendor mark
VENDOR = opencloudos
VENDOR_CAPITALIZED = OpenCloudOS
@ -159,7 +159,7 @@ dist-tarball:
dist-drivers:
@echo "Preparing thirdparty drivers."
ifneq ($(KDIST),oc9)
ifneq ($(DIST),oc9)
@cd $(TOPDIR)/dist/sources/ ; ./download-and-copy-drivers.sh ; cd $(TOPDIR)
endif