From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/mesa3d: add missing elfutils dependency with RadeonSI driver
Date: Sat, 28 Apr 2018 17:52:52 +0200 [thread overview]
Message-ID: <20180428155252.27526-2-romain.naour@gmail.com> (raw)
In-Reply-To: <20180428155252.27526-1-romain.naour@gmail.com>
RadeonSI needs LLVM support which require elfutils dependency.
Fixes:
checking for RADEON... yes
checking for AMDGPU... yes
configure: error: radeonsi requires libelf when using llvm
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Valentin Korenblit <valentin.korenblit@smile.fr>
Cc: Micha? Kalbarczyk <michal@gamecodehq.com>
---
package/mesa3d/mesa3d.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
index 2529c7d8e6..3aac0c19b8 100644
--- a/package/mesa3d/mesa3d.mk
+++ b/package/mesa3d/mesa3d.mk
@@ -39,7 +39,8 @@ MESA3D_CONF_OPTS += \
--enable-llvm-shared-libs \
--enable-llvm
# R600 needs libelf when Mesa3D is built with LLVM support
-ifneq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600),)
+# RadeonSI needs libelf
+ifneq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600)$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI),)
MESA3D_DEPENDENCIES += elfutils
endif
else
--
2.14.3
next prev parent reply other threads:[~2018-04-28 15:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-28 15:52 [Buildroot] [PATCH 1/2] package/mesa3d: add missing elfutils dependency with R600 driver Romain Naour
2018-04-28 15:52 ` Romain Naour [this message]
2018-04-28 15:59 ` 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=20180428155252.27526-2-romain.naour@gmail.com \
--to=romain.naour@gmail.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