Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH/next v3 1/4] spidermonkey: new package
Date: Mon, 25 Nov 2019 21:30:01 +0100	[thread overview]
Message-ID: <20191125213001.2044ce72@windsurf> (raw)
In-Reply-To: <20191125175031.4086339-2-aduskett@gmail.com>

Hello,

On Mon, 25 Nov 2019 09:50:28 -0800
aduskett at gmail.com wrote:

> From: Adam Duskett <aduskett@greenlots.com>

The commit title should have been "package/spidermonkey: new package".

> diff --git a/package/spidermonkey/Config.in b/package/spidermonkey/Config.in
> new file mode 100644
> index 0000000000..487db6ac6d
> --- /dev/null
> +++ b/package/spidermonkey/Config.in
> @@ -0,0 +1,47 @@
> +config BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS
> +	bool
> +	default y if BR2_aarch64
> +	default y if BR2_arm || BR2_armeb
> +	default y if BR2_i386 || BR2_x86_64
> +	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
> +	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
> +	default y if BR2_riscv
> +	default y if BR2_sh4 || BR2_sh4a
> +	default y if BR2_sparc || BR2_sparc64
> +
> +config BR2_PACKAGE_SPIDERMONKEY_JIT_ARCH_SUPPORTS
> +	bool
> +	default y if BR2_aarch64  || BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64
> +
> +config BR2_PACKAGE_SPIDERMONKEY
> +	bool "spidermonkey"
> +	depends on BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr
> +	depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np()
> +	depends on BR2_USE_MMU # fork in executable tools.
> +	depends on BR2_USE_WCHAR
> +	depends on !BR2_TOOLCHAIN_USES_UCLIBC # No way to check for fenv support.
> +	depends on !BR2_STATIC_LIBS # dlopen
> +	select BR2_PACKAGE_HOST_PYTHON
> +	select BR2_PACKAGE_HOST_PYTHON_SSL
> +	select BR2_PACKAGE_LIBNSPR
> +	select BR2_PACKAGE_ZLIB
> +	help
> +	  SpiderMonkey is the code-name for Mozilla Firefox's C++
> +	  implementation of JavaScript. It is intended to be embedded in
> +	  other applications that provide host environments for
> +	  JavaScript.
> +
> +	  https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
> +
> +comment "spidermonkey needs a glibc or musl toolchain with C++, wchar, dynamic library, NPTL, gcc >= 4.9"
> +	depends on BR2_USE_MMU
> +	depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT

You forgot BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS here. However I've
simplified things by moving the "depends on
BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT" into the definition of
BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS.

> +SPIDERMONKEY_DEPENDENCIES = \
> +	host-python \
> +	libnspr \
> +	zlib
> +
> +SPIDERMONKEY_CONF_ENV += \

= sign is sufficient here.

I've applied to next with those fixes.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-11-25 20:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 17:50 [Buildroot] [PATCH/next v3 0/4] spidermonkey: new package aduskett at gmail.com
2019-11-25 17:50 ` [Buildroot] [PATCH/next v3 1/4] " aduskett at gmail.com
2019-11-25 20:30   ` Thomas Petazzoni [this message]
2019-11-25 17:50 ` [Buildroot] [PATCH/next v3 2/4] package/polkit: bump to version 0.116 aduskett at gmail.com
2019-11-25 20:33   ` Thomas Petazzoni
2019-11-25 17:50 ` [Buildroot] [PATCH/next v3 3/4] package/polkit: support different authentication frameworks aduskett at gmail.com
2019-11-25 17:50 ` [Buildroot] [PATCH/next v3 4/4] package/polkit: enable systemd login support aduskett at gmail.com
2019-11-25 20:35   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191125213001.2044ce72@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox