[Buildroot] [V2] moarvm: new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jun 5 05:50:07 UTC 2015
Dear Francois Perrad,
On Thu, 4 Jun 2015 22:01:12 +0200, Francois Perrad wrote:
> diff --git a/package/moarvm/Config.in b/package/moarvm/Config.in
> new file mode 100644
> index 0000000..4427e55
> --- /dev/null
> +++ b/package/moarvm/Config.in
> @@ -0,0 +1,14 @@
> +config BR2_PACKAGE_MOARVM
> + bool "moarvm"
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
You don't use libatomic, so: why?
> + help
> + MoarVM (short for Metamodel On A Runtime Virtual Machine) is
> + a runtime built for the 6model object system. It is primarily aimed
> + at running NQP and Rakudo Perl 6, but should be able to serve as
> + a backend for any compilers built using the NQP compiler toolchain.
I think the lines of the help text are slightly too long.
> +MOARVM_CONF_OPTS = \
> + --build=$(GNU_HOST_NAME) \
> + --host=$(GNU_TARGET_NAME) \
> + --ar="$(TARGET_AR)" \
> + --cc="$(TARGET_CC)" \
> + --ld="$(TARGET_CC)" \
> + --prefix="/usr"
> +
> +ifeq ($(BR2_ENDIAN),"BIG")
> +MOARVM_CONF_OPTS += --big-endian
> +endif
> +
> +define MOARVM_CONFIGURE_CMDS
> + (cd $(@D); perl Configure.pl $(MOARVM_CONF_OPTS))
Is using the system provided Perl OK or should we use host-perl instead?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list