[Buildroot] [PATCH] package/gauche: remove unnecessary files for target, fix a typo
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Nov 10 10:42:11 UTC 2015
Hiroshi,
On Tue, 10 Nov 2015 19:21:26 +0900, Hiroshi Kawashima wrote:
> Most problems seems to be architectures that boehm gc not ported.
Indeed. First thing would be to see if gauche can used an external
boehm gc implementation rather than its own. Indeed, we already have a
package for boehm gc in package/bdwgc/.
And this package is only built for architectures where libatomic_ops is
available.
> Would you suggest how can I control these case in Config.in ?
> (eg. gauche is not supported on xtensa, disable selecting gauche package
> for xtensa architecture).
If you can use the bdwgc package, then please do so, and you will have
to add in gauche/Config.in "depends on
BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS" which should make most of the
architecture specific problems disappear.
If you cannot use the bdwgc package, then just add some architecture
dependencies in gauche/Config.in, probably in the form of:
config BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
bool
default y if BR2_arm || BR2_i386 || ...
config BR2_PACKAGE_GAUCHE
bool "gauche"
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
comment "gauche needs ..."
depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list