dist: fix build failure after tarname change

Upstream: no
Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
Kairui Song 2024-03-02 03:21:12 +08:00
parent d22cdce1d6
commit f1384ba706
2 changed files with 2 additions and 2 deletions

2
dist/Makefile vendored
View File

@ -147,7 +147,7 @@ default: dist-help
$(TARFILE):
@echo "Generating kernel source tar: $(TARFILE)"
@cd $(TOPDIR); git archive $(GITREF) $(TOPDIR) --format=tar.gz --prefix-$(TARNAME)/ --output $(TARFILE)
@cd $(TOPDIR); git archive $(GITREF) $(TOPDIR) --format=tar.gz --prefix=$(TARNAME)/ --output $(TARFILE)
dist-tarball: $(TARFILE)
@echo "$(TARFILE)"

View File

@ -48,7 +48,7 @@ prepare_source_info() {
DEFAULT_DISALBED=""
while [[ $# -gt 0 ]]; do
case $1 in
--kernel-tar )
--kernel-tarname )
KERNEL_TARNAME=$2
shift 2
;;