On 12/10/24 14:23, Mittal, Anuj wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know
the content is safe.
On Mon, 2024-11-18 at 15:04 +0800, Jianpeng Chang via
lists.yoctoproject.org wrote:
Add accel-config, a tool for controlling and configuring DSA. It
provides a command
line interface for Intel DSA configuration.
release note:
https://github.com/intel/idxd-config/releases/tag/accel-config-v4.1.8
Signed-off-by: Jianpeng Chang <[email protected]>
---
.../idxd-config/idxd-config_4.1.8.bb | 24
+++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 recipes-devtools/idxd-config/idxd-config_4.1.8.bb
diff --git a/recipes-devtools/idxd-config/idxd-config_4.1.8.bb
b/recipes-devtools/idxd-config/idxd-config_4.1.8.bb
new file mode 100644
index 00000000..f8418cfa
--- /dev/null
+++ b/recipes-devtools/idxd-config/idxd-config_4.1.8.bb
Rename idxd-config -> accel-config to follow other distributions.
@@ -0,0 +1,24 @@
+SUMMARY = "Utility library for controlling and configuring DSA and
IAA sub-systems in the Linux kernel"
+DESCRIPTION = "${SUMMARY}"
+
+LICENSE = "GPL-2.0"
GPL-2.0-only
Also, some parts are LGPL licensed. Please fix this and packaging.
+
+LIC_FILES_CHKSUM =
"file://LICENSE_GPL_2_0;md5=fa69eb765efdca4a83cd19e915db9ab0"
+SRC_URI = "git://github.com/intel/idxd-
config.git;protocol=https;branch=stable"
+SRCREV = "4405db703c2cee54c06370d9eddb985642ede696"
This is not 4.1.8. Please set correct SRCREV.
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+PACKAGECONFIG_CONFARGS = "--disable-docs"
This should be converted to PACKAGECONFIG and not passed like this.
+
+DEPENDS:append = "util-linux json-c"
+
+do_configure:prepend () {
+ ( cd ${S}; ./autogen.sh )
+}
Why is this needed if we are inheriting autotools?
The configure.ac include a version file "version.m4" directly, autogen
is needed to create this file to pass the configuration check.
I will fix the other issues following your comments.
+
+do_compile:prepend () {
+ # some targets in makefile depends on the configure files in
source path, link it to the build path
+ ln -sf ${S}/contrib/ contrib
+}
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8467):
https://lists.yoctoproject.org/g/meta-intel/message/8467
Mute This Topic: https://lists.yoctoproject.org/mt/109640349/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-