Skip to content

Commit 664bf47

Browse files
committed
build.sh: Use ccache
Signed-off-by: inferno0230 <[email protected]>
1 parent b278813 commit 664bf47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ regenerate_defconfig() {
4747

4848
build_kernel() {
4949
cd $KERNEL_PATH
50-
make $BUILD_CC O=out ARCH=$ARCH $DEFCONFIG savedefconfig
50+
make CC='ccache clang' CXX='ccache clang++' $BUILD_CC O=out ARCH=$ARCH $DEFCONFIG savedefconfig
5151
# Begin compilation
5252
start=$(date +%s)
5353
make $BUILD_CC O=out ARCH=$ARCH -j`nproc` ${BUILD_CC} 2>&1 | tee error.log

0 commit comments

Comments
 (0)