[Buildroot] [PATCH] linux: fix fbtft kernel extension

Peter Seiderer ps.report at gmx.net
Sun Jan 11 22:27:32 UTC 2015


Hello Thomas,

> Gesendet: Sonntag, 11. Januar 2015 um 19:48 Uhr
> Von: "Thomas Petazzoni" <thomas.petazzoni at free-electrons.com>
> An: "Peter Seiderer" <ps.report at gmx.net>
> Cc: buildroot at busybox.net, "Richard Fergusson" <fergie4000 at gmail.com>
> Betreff: Re: [PATCH] linux: fix fbtft kernel extension
>
> Dear Peter Seiderer,
> 
> On Sun, 11 Jan 2015 14:18:55 +0100, Peter Seiderer wrote:
> > Fixes fbtft kernel extension bug reported by Richard Fergusson ([1]):
> > 
> > drivers/video/Kconfig:2525: can't open file
> > "drivers/video/fbdev/fbtft/Kconfig"
> > 
> > Fix: write the right fbtft/KConfig path to video/Kconfig or
> > video/fbdev/Kconfig (instead of hard coded one)
> > 
> > [1] http://lists.busybox.net/pipermail/buildroot/2015-January/117057.html
> > 
> > Reported-by: Richard Fergusson <fergie4000 at gmail.com>
> > Signed-off-by: Peter Seiderer <ps.report at gmx.net>
> 
> I only had a quick look, but I don't really see the relationship
> between the bug report and this fix. Could you elaborate a bit?
> 

Without this patch (and raspberrypi_defconfig and BR2_LINUX_KERNEL_EXT_FBTFT=y)
a wrong path is added to drivers/video/Kconfig

$ tail -2 build/linux-c256eb9968c8997dce47350d2075e42f1b3991d3/drivers/video/Kconfig 
endmenu
source "drivers/video/fbdev/fbtft/Kconfig"

$ ls build/linux-c256eb9968c8997dce47350d2075e42f1b3991d3/drivers/video/fbtft/Kconfig 
build/linux-c256eb9968c8997dce47350d2075e42f1b3991d3/drivers/video/fbtft/Kconfig

The patch changes the wrong addition 'source "drivers/video/fbdev/fbtft/Kconfig"' to
the right 'source "drivers/video/fbtft/Kconfig"' in case linux < 3.15...

Hope this explenation is better?

Regards,
Peter

> Thanks,
> 
> Thomas
> -- 
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
> 


More information about the buildroot mailing list