File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,11 @@ jobs:
233
233
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sat Apr 20 04:20:00 UTC 2024"}' ./common/scripts/mkcompile_h
234
234
perl -pi -e 's{UTS_VERSION="\$\(echo \$UTS_VERSION \$CONFIG_FLAGS \$TIMESTAMP \| cut -b -\$UTS_LEN\)"}{UTS_VERSION="#1 SMP PREEMPT Sat Apr 20 04:20:00 UTC 2024"}' ./msm-kernel/scripts/mkcompile_h
235
235
236
+ - name : Verify ccache and clang
237
+ run : |
238
+ which ccache || echo "ccache not found!"
239
+ which clang || echo "clang not found!"
240
+
236
241
- name : Build the Kernel
237
242
run : |
238
243
echo "Changing to configuration directory: $CONFIG..."
@@ -245,7 +250,10 @@ jobs:
245
250
#git config --global user.name "TheWildJames"
246
251
#git add *
247
252
#git commit -s -a -m "getting rid of -dirty"
248
- sed -i 's|\${OPLUS_EXTRA_KBUILD_ARGS} ./kernel_platform/build/android/prepare_vendor.sh|\${OPLUS_EXTRA_KBUILD_ARGS} HOSTCC="/usr/bin/ccache clang" HOSTCXX="/usr/bin/ccache clang++" CC="/usr/bin/ccache clang" ./kernel_platform/build/android/prepare_vendor.sh|' ./kernel_platform/oplus/build/oplus_build_kernel.sh
253
+ sed -i '/SKIP_MRPROPER=1 OUT_DIR=\${ANDROID_KP_OUT_DIR} .\/build\/build.sh/i \
254
+ export HOSTCC="/usr/bin/ccache clang"\n\
255
+ export HOSTCXX="/usr/bin/ccache clang++"\n\
256
+ export CC="/usr/bin/ccache clang"' ./kernel_platform/build/android/prepare_vendor.sh
249
257
./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} gki
250
258
251
259
- name : Copy Images
You can’t perform that action at this time.
0 commit comments