Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Hiding non-buildable packages
@ 2007-08-21 20:28 Ulf Samuelsson
  2007-08-22 19:13 ` Bernhard Fischer
  0 siblings, 1 reply; 15+ messages in thread
From: Ulf Samuelsson @ 2007-08-21 20:28 UTC (permalink / raw)
  To: buildroot

A lot of the packages does not build.
Some only build for some targets.
I think it would be nice to have the possibility
to set a config item, which resulted in that only
packages which seems to build are really visible.

A lot of people will waste time to try to build
packages which simply does not work...
openssh (or was it openssl) is but one example.

Implementation could be:



Dependencies.in:	
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
config	BR2_HIDE_BROKEN_ARM
	bool "Hide packages, known not to build on ARM"
	default n
	depends on BR2_arm 
	select	BR2_HIDE_OPENSSL
	select  BR2_HIDE_OPENSSH
	[snip]
	select  BR2_HIDE_X11R7
	help
	  Setting this flag will hide packages which 
	  for various reasons will not build on ARM CPUs.

config	BR2_HIDE_BROKEN_X86
	bool "Hide packages, known not to build on ARM"
	default n
	depends on BR2_i386 
	select  BR2_HIDE_OPENSSH
	[snip]
	help
	  Setting this flag will hide packages which 
	  for various reasons will not build on an x86 CPU

...

config	BR2_HIDE_OPENSSH
	bool
	default n

config	BR2_HIDE_OPENSSL
	bool
	default n

[snip]

config	BR2_HIDE_X11R7
	bool
	default n

--------------------------------------------------------



package/openssh/Config.in:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
config	BR2_PACKAGE_OPENSSH
	depends on !BR2_HIDE_OPENSSH
	...
--------------------------------------------------------


Didn't test this, yet, but looks useful.


-- 
Best Regards,
Ulf Samuelsson

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-08-22 22:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 20:28 [Buildroot] Hiding non-buildable packages Ulf Samuelsson
2007-08-22 19:13 ` Bernhard Fischer
2007-08-22 20:24   ` Ulf Samuelsson
2007-08-22 20:43     ` Jonathan Dumaresq
2007-08-22 20:44     ` Yann E. MORIN
2007-08-22 20:59       ` Ulf Samuelsson
2007-08-22 21:17         ` Yann E. MORIN
2007-08-22 21:25           ` Bernhard Fischer
2007-08-22 22:07           ` Ulf Samuelsson
2007-08-22 21:20         ` Bernhard Fischer
2007-08-22 22:12           ` Ulf Samuelsson
2007-08-22 21:05       ` Bernhard Fischer
2007-08-22 21:21         ` Yann E. MORIN
2007-08-22 21:47           ` Yann E. MORIN
2007-08-22 21:27         ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox