Merge commit '818299f6bdae' into android-exynos-4.14-ww-9610-minor_up-dev
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / scripts / link-vmlinux.sh
old mode 100755 (executable)
new mode 100644 (file)
index cfa4471..c9559fc
@@ -403,5 +403,10 @@ if [ -n "${CONFIG_KALLSYMS}" ]; then
        fi
 fi
 
+if [ -n "${CONFIG_EXYNOS_FMP_FIPS}" ]; then
+    echo '  FIPS : Generating hmac of fmp and updating vmlinux... '
+       PYTHONDONTWRITEBYTECODE=0 "${srctree}/scripts/fmp/fips_fmp_integrity.py" "${objtree}/vmlinux"
+fi
+
 # We made a new kernel - delete old version file
 rm -f .old_version