All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv5 5/5] package/bcc: add optional luajit dependency
Date: Sun,  6 Dec 2020 18:35:37 +0100	[thread overview]
Message-ID: <20201206173537.1397691-5-romain.naour@gmail.com> (raw)
In-Reply-To: <20201206173537.1397691-1-romain.naour@gmail.com>

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Qais Yousef <qais.yousef@arm.com>
---
 package/bcc/bcc.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/bcc/bcc.mk b/package/bcc/bcc.mk
index bafa9e2096..8b6ba63f90 100644
--- a/package/bcc/bcc.mk
+++ b/package/bcc/bcc.mk
@@ -19,8 +19,14 @@ BCC_DEPENDENCIES = host-bison host-flex clang elfutils flex llvm python3 tar
 BCC_CONF_OPTS = -DENABLE_LLVM_SHARED=ON \
 	-DREVISION=$(BCC_VERSION) \
 	-DENABLE_CLANG_JIT=ON \
-	-DENABLE_MAN=OFF \
-	-DENABLE_LUAJIT=OFF
+	-DENABLE_MAN=OFF
+
+ifeq ($(BR2_PACKAGE_LUAJIT),y)
+BCC_DEPENDENCIES += luajit
+BCC_CONF_OPTS += -DENABLE_LUAJIT=ON
+else
+BCC_CONF_OPTS += -DENABLE_LUAJIT=OFF
+endif
 
 define BCC_LINUX_CONFIG_FIXUPS
 	# Enable kernel support for eBPF
-- 
2.25.4

  parent reply	other threads:[~2020-12-06 17:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 17:35 [Buildroot] [PATCHv5 1/5] package/llvm: add BPF backend Romain Naour
2020-12-06 17:35 ` [Buildroot] [PATCHv5 2/5] package/bcc: new package Romain Naour
2020-12-20  1:44   ` Qais Yousef
2020-12-20  9:17     ` Romain Naour
2020-12-06 17:35 ` [Buildroot] [PATCHv5 3/5] package/libbpf: " Romain Naour
2020-12-20  2:07   ` Qais Yousef
2020-12-06 17:35 ` [Buildroot] [PATCHv5 4/5] package/bpftrace: " Romain Naour
2020-12-20  1:47   ` Qais Yousef
2020-12-20 10:01     ` Romain Naour
2020-12-20 15:22       ` Romain Naour
2020-12-21 11:44       ` Qais Yousef
2020-12-06 17:35 ` Romain Naour [this message]
2020-12-20  1:47   ` [Buildroot] [PATCHv5 5/5] package/bcc: add optional luajit dependency Qais Yousef
2020-12-20 10:11     ` Romain Naour
2020-12-20  1:43 ` [Buildroot] [PATCHv5 1/5] package/llvm: add BPF backend Qais Yousef

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=20201206173537.1397691-5-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.