superna9999 / meta-meson

Upstream Linux Amlogic Meson Yocto/OpenEmbedded Layer
https://github.com/superna9999/meta-meson/wiki
MIT License
100 stars 67 forks source link

linux-yocto-meson32 5.2: Fix kernel build error #80

Closed dkruces closed 4 years ago

dkruces commented 4 years ago

Add linux upstream patch to fix kernel build error dependency.

When compiling linux kernel using arch/arm/configs/multi_v7_defconfig it generates the next error because of missing dependency:

arm-poky-linux-gnueabi-ld.bfd: drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0x4): undefined reference to `drm_atomic_helper_connector_reset' arm-poky-linux-gnueabi-ld.bfd: drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0x10): undefined reference to `drm_helper_probe_single_connector_modes' arm-poky-linux-gnueabi-ld.bfd: drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0x24): undefined reference to `drm_atomic_helper_connector_duplicate_state' arm-poky-linux-gnueabi-ld.bfd: drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0x28): undefined reference to `drm_atomic_helper_connector_destroy_state' /workdir/build/tmp/work-shared/amlogic-s805/kernel-source/Makefile:1054: recipe for target 'vmlinux' failed make[1]: *** [vmlinux] Error 1 /workdir/build/tmp/work-shared/amlogic-s805/kernel-source/Makefile:179: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 WARNING: exit code 1 from a shell command.

ERROR: Task (/workdir/poky/../meta-meson/recipes-kernel/linux/linux-yocto-meson32_5.2.bb:do_compile) failed with exit code '1'

Signed-off-by: Daniel Gomez dagmcr@gmail.com

dkruces commented 4 years ago

This also affects the next linux recipes in zeus:

recipes-kernel/linux/linux-yocto-meson32_4.14.bb recipes-kernel/linux/linux-yocto-meson32_4.18.bb recipes-kernel/linux/linux-yocto-meson32_4.19.bb recipes-kernel/linux/linux-yocto-meson32_4.20.bb recipes-kernel/linux/linux-yocto-meson32_5.2.bb

Because they depend on the multi_v7_defconfig.

superna9999 commented 4 years ago

Thanks, I'll backport in zeus aswell