Hi Andreas, Alex,

Le Monday 19 May 2014 à 12:00 +0200, Alexander Graf a écrit :
> On 18.05.14 19:53, Andreas Färber wrote:
> > Hi,
> >
> > kernel-exynos is failing as follows:
> >
> > [22654s] drivers/built-in.o: In function `exynos_drm_attach_lcd_bridge':
> > [22654s]
> > /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/drivers/gpu/drm/exynos/exynos_dp_core.c:1004:
> > undefined reference to `ptn3460_init'
> > [22669s]
> > /home/abuild/rpmbuild/BUILD/kernel-exynos-3.15.rc5/linux-3.15-rc5/Makefile:882:
> > recipe for target 'vmlinux' failed
> > [22669s] make[2]: *** [vmlinux] Error 1
> > [22669s] Makefile:148: recipe for target 'sub-make' failed
> > [22669s] make[1]: *** [sub-make] Error 2
> > [22669s] Makefile:26: recipe for target 'all' failed
> > [22669s] make: *** [all] Error 2
> >
> > https://build.opensuse.org/package/live_build_log/Kernel:HEAD/kernel-exynos/ARM/armv7l
> >
> > Anyone any insights how to resolve?
> 
> I guess the best way is to write an email to the maintainer + list of 
> that drm module so they can fix it upstream :).

This one is fairly simple actually. You can't build exynos_dp_core into
the kernel (CONFIG_DRM_EXYNOS_DP=y) while ptn3460 is built as a module
(CONFIG_DRM_PTN3460=m) because the former depends on the latter.

The most immediate fix is to change CONFIG_DRM_PTN3460 to y. I'll do
that.

The proper fix would be to add the proper dependency between these two
drivers, with either a "depends on" or a "select". I'll see what it more
appropriate.

-- 
Jean Delvare
SUSE L3 Support

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to