Message ID | 20230419062056.7964-1-jiweisun126@126.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | kbuild: rpm-pkg: fix rpm-pkg build error | expand |
diff --git a/scripts/Makefile.package b/scripts/Makefile.package index 4d90691505b1..3718ecdf9edf 100644 --- a/scripts/Makefile.package +++ b/scripts/Makefile.package @@ -49,7 +49,7 @@ git-config-tar.zst = -c tar.tar.zst.command="$(ZSTD)" quiet_cmd_archive = ARCHIVE $@ cmd_archive = git -C $(srctree) $(git-config-tar$(suffix $@)) archive \ - --output=$$(realpath $@) --prefix=$(basename $@)/ $(archive-args) + --output=$$(realpath $@) --prefix=$(basename $(basename $@))/ $(archive-args) # Linux source tarball # ---------------------------------------------------------------------------