diff options
Diffstat (limited to 'meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb')
-rw-r--r-- | meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb b/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb new file mode 100644 index 00000000..416edf17 --- /dev/null +++ b/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Install user script to support fpga-manager" | ||
2 | DESCRIPTION = "Install user script that loads and unloads overlays using kernel fpga-manager" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/fpgautil.c;beginline=1;endline=24;md5=8010e59a286b1e3a73a9fdd93bd18778" | ||
5 | |||
6 | SRC_URI = "\ | ||
7 | file://fpgautil.c \ | ||
8 | " | ||
9 | S = "${WORKDIR}" | ||
10 | |||
11 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
12 | |||
13 | do_compile() { | ||
14 | ${CC} ${LDFLAGS} fpgautil.c -o fpgautil | ||
15 | } | ||
16 | |||
17 | do_install() { | ||
18 | install -Dm 0755 ${S}/fpgautil ${D}${bindir}/fpgautil | ||
19 | } | ||
20 | |||
21 | FILES:${PN} = "\ | ||
22 | ${bindir}/fpgautil \ | ||
23 | " | ||