File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -414,10 +414,19 @@ ubu-chroot -r /srv/mer/sdks/ubu ${bash} "set -o errexit; cd %android_root; %{?pr
414
414
rm -rf tmp
415
415
mkdir tmp
416
416
417
+ echo Find kernel config
418
+ kernel_config = $(find %{android_root }/out /target /product /%{device } -name . config -type f | \
419
+ while read -r kernel_config ; do
420
+ if grep -q -E 'Linux/.* Kernel Configuration' $kernel_config ; then
421
+ echo $kernel_config
422
+ break
423
+ fi
424
+ done )
425
+
417
426
echo Verifying kernel config
418
- # AOSP seems to use .../obj/kernel/.config not obj/KERNEL_OBJ/.config like CM : so wildcard it
427
+
419
428
hybris /mer -kernel -check /mer_verify_kernel_config \
420
- %{ android_root }/ out / target / product /%{ device }/ obj /*/ . config
429
+ $ kernel_config
421
430
422
431
423
432
android_version_major = $(awk '/PLATFORM_VERSION([A-Z0-9.]*|_LAST_STABLE) := ([0-9.]+)/ { print $3; }' \
You can’t perform that action at this time.
0 commit comments