[Buildroot] [PATCH] board/qemu/ppc*: disable Werror while building ppc kernel with gcc >= 9.1

Romain Naour romain.naour at gmail.com
Wed May 1 19:47:37 UTC 2019


Hi Thomas,

Le 01/05/2019 à 21:38, Thomas Petazzoni a écrit :
> Hello Romain,
> 
> On Wed, 1 May 2019 15:57:47 +0200
> Romain Naour <romain.naour at gmail.com> wrote:
> 
>>>  Maybe it would be better to have a single fragment file
>>> board/linux-ppc-disable-werror.fragment
>>> and include that in all the relevant defconfigs, rather than updating each linux
>>> config?  
>>
>> I'm not sure how to handle such fragments in Buildroot.
>> Storing fragments in board directory seems not great.
> 
> Why ? We already have plenty of these:
> 
> $ find board/ | grep frag
> board/beaglebone/linux-4.1-sgx.fragment
> board/technologic/ts4800/linux.fragment
> board/engicam/icorem6/linux_qt5.fragment
> board/orangepi/orangepi-pc/linux.fragment
> board/amarula/vyasa/linux_gmac.fragment
> board/udoo/mx6qdl/linux.fragment
> board/lego/ev3/linux.fragment
> board/lego/ev3/busybox.fragment
> board/stmicroelectronics/stm32mp157-dk/uboot-fragment.config
> board/freescale/imx6-sabresd/linux_qt5.fragment
> board/freescale/warpboard/linux.fragment
> board/solidrun/macchiatobin/uboot-fragment.config
> board/solidrun/clearfog/linux.fragment
> board/synopsys/hsdk/linux.fragment
> board/qemu/nios2-10m50/linux.fragment
> board/qemu/ppc64-e5500/linux.fragment
> board/lemaker/bananapro/linux-wifi.fragment
> board/chromebook/snow/linux-4.15.fragment
> board/olimex/imx233_olinuxino/linux-wifi.fragment

I mean storing the fragment in board/linux-ppc-disable-werror.fragment that is
shared between several boards.

Each existing linux.fragment are only used by one board.

Best regards,
Romain

> 
> Best regards,
> 
> Thomas
> 



More information about the buildroot mailing list