blob: d15beb532155b04464b803007aaa89eeaf40e239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
SUMMARY = "Linux dfemix library"
SECTION = "libdfemix"
LICENSE = "BSD"
inherit pkgconfig xlnx-embeddedsw features_check
REQUIRED_MACHINE_FEATURES = "rfsoc"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
S = "${UNPACKDIR}/git"
PACKAGE_ARCH = "${MACHINE_ARCH}"
DEPENDS = "libmetal"
PROVIDES = "libdfemix"
DFEMIX_SUBDIR = "XilinxProcessorIPLib/drivers/dfemix/src"
do_compile:prepend() {
cd ${S}/${DFEMIX_SUBDIR}
cp Makefile.Linux Makefile
}
do_install() {
install -d ${D}${libdir}
install -d ${D}${includedir}
cd ${S}/${DFEMIX_SUBDIR}
oe_libinstall -so libdfemix ${D}${libdir}
install -m 0644 xdfemix_hw.h ${D}${includedir}/xdfemix_hw.h
install -m 0644 xdfemix.h ${D}${includedir}/xdfemix.h
}
FILES:${PN} = "${libdir}/*.so.*"
FILES:${PN}-dev = "${libdir}/*.so ${includedir}/*"
|