[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230406152540.8207-1-youling257@gmail.com>
Date: Thu, 6 Apr 2023 23:25:40 +0800
From: youling257 <youling257@...il.com>
To: masahiroy@...nel.org
Cc: linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
nathan@...nel.org, ndesaulniers@...gle.com, nicolas@...sle.eu,
terrelln@...com, torvalds@...ux-foundation.org
Subject: [PATCH 6/6] kbuild: use git-archive for source package creation
This patch cause build time a bit longer.
I use "time make targz-pkg -i -j8" build kernel, this patch will first create *.tar file, then create *.tar.gz file, build time a bit longer.
'./System.map' -> 'tar-install/boot/System.map-6.3.0-rc5-android-x86_64+'
'.config' -> 'tar-install/boot/config-6.3.0-rc5-android-x86_64+'
'./vmlinux' -> 'tar-install/boot/vmlinux-6.3.0-rc5-android-x86_64+'
'./arch/x86/boot/bzImage' -> 'tar-install/boot/vmlinuz-6.3.0-rc5-android-x86_64+'
TAR linux-6.3.0-rc5-android-x86_64+-x86.tar
GZIP linux-6.3.0-rc5-android-x86_64+-x86.tar.gz
real 0m37.991s
user 0m47.529s
sys 0m8.235s
Revert "kbuild: use git-archive for source package creation"
'./System.map' -> 'tar-install/boot/System.map-6.3.0-rc5-android-x86_64+'
'.config' -> 'tar-install/boot/config-6.3.0-rc5-android-x86_64+'
'./vmlinux' -> 'tar-install/boot/vmlinux-6.3.0-rc5-android-x86_64+'
'./arch/x86/boot/bzImage' -> 'tar-install/boot/vmlinuz-6.3.0-rc5-android-x86_64+'
TAR linux-6.3.0-rc5-android-x86_64+-x86.tar.gz
real 0m11.006s
user 0m21.079s
sys 0m7.830s
I don't like *.tar file, i will delete *.tar file when every time build kernel, i need *.tar.gz file, if one file is i needn't, i will delete it.
linux-6.3.0-rc5-android-x86_64+-x86.tar.gz file is i need, linux-6.3.0-rc5-android-x86_64+-x86.tar is i needn't.
Powered by blists - more mailing lists