diff options
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools')
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/files/CMakeLists.txt | 7 | ||||
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/i3c-tools.bb | 25 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/files/CMakeLists.txt b/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/files/CMakeLists.txt new file mode 100644 index 000000000..5a049e9ff --- /dev/null +++ b/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/files/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 2.8.10 FATAL_ERROR) +project(i3c-tools C) +set(CMAKE_C_STANDARD 11) +set(CMAKE_C_STANDARD_REQUIRED ON) +include_directories(include) +add_executable(i3ctransfer i3ctransfer.c) +install(TARGETS i3ctransfer DESTINATION bin) diff --git a/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/i3c-tools.bb b/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/i3c-tools.bb new file mode 100644 index 000000000..89dbf1d68 --- /dev/null +++ b/meta-openbmc-mods/meta-common/recipes-utilities/i3c-tools/i3c-tools.bb @@ -0,0 +1,25 @@ +SUMMARY = "i3c-tools" +DESCRIPTION = "Set of tools to interact with i3c devices from user space" + +SRC_URI = "git://github.com/vitor-soares-snps/i3c-tools.git" +SRCREV = "5d752038c72af8e011a2cf988b1476872206e706" + +S = "${WORKDIR}/git" + +PV = "0.1+git${SRCPV}" + +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "\ + file://i3ctransfer.c;beginline=1;endline=6;md5=8a1ae5c1aaf128e640de497ceaa9935e \ + " + +inherit cmake + +SRC_URI += "\ + file://CMakeLists.txt \ + " + +do_configure_prepend() { + cp -f ${WORKDIR}/CMakeLists.txt ${S} +} + |