[Buildroot] How handle broken or partly broken packages in the distribution

Ulf Samuelsson ulf.samuelsson at atmel.com
Fri Jan 23 16:45:43 UTC 2009


fre 2009-01-23 klockan 09:57 +0100 skrev Hans-Christian Egtvedt:
> On Thu, 22 Jan 2009 20:07:33 +0100
> Ulf Samuelsson <ulf.samuelsson at atmel.com> wrote:
> 
> <snipp list of packages>
>  
> > I suggest we disable them using
> > 	depends on "BR2_avr32
> > 
> 
> I assume " was supposed to be !.
> 
> > so they are not selectable for AVR32 users
> > 
> 
> To make it harder to fix the problem with the packages?
> 
> It might also be a result from the development environment on your
> build machine, like the recent alsa-utils errors somebody else found on
> opensuse, which I have not triggered in my Ubuntu system.
> 

True in some cases, but if the "machine is not recognized" 
pops up, then there is a slim chance for it to build.

An alternative approach would be to depend on 

	!BR_PACKAGE_<XXXX>_HIDE

and have
config BR2_HIDE_BROKEN_ON_AVR32
	depends on BR2_avr32
	 select BR_PACKAGE_<XXX1>_HIDE
	select BR_PACKAGE_<XXX1>_HIDE
	select BR_PACKAGE_<XXX1>_HIDE
	select BR_PACKAGE_<XXX1>_HIDE
	etc.
 
Which packages should be disabled this way should be open for
discussion, but if noone can build it, there
is no reason for wasting everyones time by making
it visible IN THE DISTRIBUTION.

BR
Ulf Samuelsson



More information about the buildroot mailing list