forked from pool/bpftool
Accepting request 925259 from home:shunghsiyu:branches:Base:System
- Enable libbfd feature to support dumping jited form of BPF programs OBS-URL: https://build.opensuse.org/request/show/925259 OBS-URL: https://build.opensuse.org/package/show/Base:System/bpftool?expand=0&rev=5
This commit is contained in:
parent
70b08c1325
commit
11b830a8e8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 14 11:40:44 UTC 2021 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||
|
||||
- Enable libbfd feature to support dumping jited form of BPF programs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 16:28:37 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
|
12
bpftool.spec
12
bpftool.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bpftool
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,7 +23,8 @@ Release: 0
|
||||
Summary: Tool for inspection and manipulation of BPF programs and maps
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Tools/Other
|
||||
Url: http://www.kernel.org/
|
||||
URL: http://www.kernel.org/
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: docutils
|
||||
BuildRequires: kernel-source
|
||||
BuildRequires: libelf-devel
|
||||
@ -39,7 +40,12 @@ sed -i -e 's/CFLAGS += -O2/CFLAGS = $(RPM_OPT_FLAGS)/' Makefile
|
||||
|
||||
%build
|
||||
cd tools/bpf/bpftool
|
||||
%make_build V=1 feature-reallocarray=1 all doc
|
||||
%make_build V=1 \
|
||||
feature-reallocarray=1 \
|
||||
feature-libbfd-liberty=1 \
|
||||
feature-disassembler-four-args=1 \
|
||||
all \
|
||||
doc
|
||||
|
||||
%install
|
||||
cd tools/bpf/bpftool
|
||||
|
Loading…
Reference in New Issue
Block a user