package/bpftool: new host package
PATCH 1/1 package/bpftool: new host package
This tool is needed for enabling features such as the systemd bpf-framework(to be added in a future patch).
Signed-off-by James Hilliard <[email protected]>
--- DEVELOPERS | 1 + package/bpftool/bpftool.hash | 5 +++++ package/bpftool/bpftool.mk | 25 +++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/bpftool/bpftool.hash create mode 100644 package/bpftool/bpftool.mk
DEVELOPERS +1 -0
@@ -1282,6 +1282,7 @@ F: configs/pine64_sopine_defconfig N: James Hilliard <[email protected]> F: package/apcupsd/ +F: package/bpftool/ F: package/exfatprogs/ F: package/gensio/ F: package/lua-std-debug/
package/bpftool/bpftool.hash new file +5 -0
@@ -0,0 +1,5 @@ +# Locally calculated +sha256 c868cb85bf44195ec6cd20649c3db4f7aff64a38d950a1c2911d981fb2d7042c bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144-br1.tar.gz +sha256 7c588754d5e81e92e2a12e47cf78949d485c9c22b4850f12d21b3835c85947d1 LICENSE +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSE.BSD-2-Clause +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL-2.0
package/bpftool/bpftool.mk new file +25 -0
@@ -0,0 +1,25 @@ +################################################################################ +# +# bpftool +# +################################################################################ + +BPFTOOL_VERSION = a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 +BPFTOOL_SITE = https://github.com/libbpf/bpftool +BPFTOOL_SITE_METHOD = git +BPFTOOL_GIT_SUBMODULES = YES +BPFTOOL_LICENSE = GPL-2.0, BSD-2-Clause +BPFTOOL_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.GPL-2.0 +HOST_BPFTOOL_DEPENDENCIES = host-elfutils host-pkgconf host-zlib + +define HOST_BPFTOOL_BUILD_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src +endef + +define HOST_BPFTOOL_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install DESTDIR="$(HOST_DIR)" prefix=/usr +endef + +$(eval $(host-generic-package))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot