Merge pull request #2915 from HiassofT/le9-module-symvers

linux: fix Module.symvers generation
This commit is contained in:
Christian Hewitt 2018-08-28 14:00:18 +04:00 committed by GitHub
commit f6ccc81f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,7 +216,10 @@ make_target() {
done
fi
kernel_make $KERNEL_TARGET $KERNEL_MAKE_EXTRACMD
# the modules target is required to get a proper Module.symvers
# file with symbols from built-in and external modules.
# Without that it'll contain only the symbols from the kernel
kernel_make $KERNEL_TARGET $KERNEL_MAKE_EXTRACMD modules
if [ "$BUILD_ANDROID_BOOTIMG" = "yes" ]; then
DTB_BLOBS=($(ls arch/$TARGET_KERNEL_ARCH/boot/dts/amlogic/*.dtb 2>/dev/null || true))