From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4 v2] package/kvm-unit-tests: introduce _ARCH_SUPPORTS
Date: Sun, 9 Jul 2017 18:03:05 +0200 [thread overview]
Message-ID: <20170709180305.5146f312@windsurf> (raw)
In-Reply-To: <20170708163045.GD3867@scaer>
Hello,
On Sat, 8 Jul 2017 18:30:45 +0200, Yann E. MORIN wrote:
> > GCC is *not* an arch dependency, so this should just be
>
> Yet we already use similar construct in other packages, like host-go:
>
> config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
> depends on (BR2_arm && BR2_TOOLCHAIN_SUPPORTS_PIE) || [...]
>
> or like kodi:
>
> config BR2_PACKAGE_KODI_ARCH_SUPPORTS
> default y if (BR2_arm || (BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC) || [...]
>
> or with libsigsegv:
>
> config BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS
> default y if BR2_TOOLCHAIN_USES_GLIBC
> default y if BR2_TOOLCHAIN_USES_MUSL
> default y if BR2_TOOLCHAIN_USES_UCLIBC && [...archs...]
>
> or libunwind, openal (interesting case), openblas, protobuf.
>
> Arguaby, none of the above have a dependency on gcc, but some are on the
> C library, and others are on toolchain features...
Yes, but see what I replied to Carlos about adding a
BR2_PACKAGE_LINUX_PAM_ARCH_SUPPORTS option, which would have encoded
non-architecture dependencies.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-07-09 16:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 14:08 [Buildroot] [PATCH 0/4 v2] arch/arm: introduce big.LITTLE configurations Yann E. MORIN
2017-07-08 14:08 ` [Buildroot] [PATCH 1/4 v2] arch/arm: fix -mcpu default values for AArch64 Yann E. MORIN
2017-07-08 15:33 ` Arnout Vandecappelle
2017-07-08 15:42 ` Yann E. MORIN
2017-07-19 20:16 ` Peter Korsgaard
2017-07-08 14:08 ` [Buildroot] [PATCH 2/4 v2] package/kvm-unit-tests: introduce _ARCH_SUPPORTS Yann E. MORIN
2017-07-08 15:41 ` Arnout Vandecappelle
2017-07-08 16:30 ` Yann E. MORIN
2017-07-09 16:03 ` Thomas Petazzoni [this message]
2017-07-09 16:16 ` Yann E. MORIN
2017-07-08 14:08 ` [Buildroot] [PATCH 3/4 v2] arch/arm: add big.LITTLE cpu variants Yann E. MORIN
2017-07-08 16:34 ` Arnout Vandecappelle
2017-07-08 16:51 ` Yann E. MORIN
2017-07-08 14:08 ` [Buildroot] [PATCH 4/4 v2] package/kvm-unit-test: available for big.LITTLE arm cores too Yann E. MORIN
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=20170709180305.5146f312@windsurf \
--to=thomas.petazzoni@free-electrons.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