diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:38:17 +0300 |
commit | 8d6ae7f2a817751fad151168fa10ce28ee0869d8 (patch) | |
tree | 281032f7ec07c41589aa094bd165cc2a98f2d3a7 /meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb | |
parent | c16fb8893b19075db4bcf3b5bf33c1db8c3ca2bd (diff) | |
parent | 5da3c2284560a7e08ffafd03c5b5ba44a3242228 (diff) | |
download | openbmc-8d6ae7f2a817751fad151168fa10ce28ee0869d8.tar.xz |
Merge tag '0.26' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
Diffstat (limited to 'meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb')
-rw-r--r-- | meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb b/meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb new file mode 100644 index 000000000..9d9a2b388 --- /dev/null +++ b/meta-xilinx/meta-xilinx-pynq/recipes-support/libcma/libcma_1.0.bb @@ -0,0 +1,33 @@ +SUMMARY = "Recompile libcma against pynqlib c" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5" + +CMA_ARCH_arm = "32" +CMA_ARCH_aarch64 = "64" + +PYNQBRANCH ?= "image_v2.4" +SRCBRANCHARG = "${@['nobranch=1', 'branch=${PYNQBRANCH}'][d.getVar('PYNQBRANCH', True) != '']}" +PYNQURI ?= "git://github.com/Xilinx/PYNQ.git;protocol=https" + +SRC_URI = "${PYNQURI};${SRCBRANCHARG}" + +SRCREV ?= "3d659d374701b7c34fa702e7aa23f71f9113f826" + +S="${WORKDIR}/git" + +CMA_ARCH_arm = "32" +CMA_ARCH_aarch64 = "64" + +do_install() { + + install -d ${D}/usr/lib/ + install -d ${D}/usr/include/ + + cd ${S}/sdbuild/packages/libsds/libcma + CMA_ARCH=${CMA_ARCH_${TARGET_ARCH}} make install DESTDIR=${D} +} + +SOLIBS = ".so" +FILES_SOLIBSDEV = "" +FILES_${PN} += "/usr/lib/libcma.so /usr/include" + |