summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-apps/rfdc-examples/rfdc-examples.inc
blob: ffb70044ab02534c3547c3641a99940c1cab7f30 (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
LICENSE = "BSD"

inherit xlnx-embeddedsw features_check

REQUIRED_MACHINE_FEATURES = "rfsoc"

PACKAGE_ARCH = "${MACHINE_ARCH}"

DEPENDS = "librfdc"
RDEPENDS:${PN} = "librfdc"

PACKAGES = "${PN}-dbg ${PN}"

S = "${WORKDIR}/git"
B = "${WORKDIR}/build"

FLAG = ""
FLAG:zcu111-zynqmp = "-DXPS_BOARD_ZCU111"

RFDC_SUBDIR = "XilinxProcessorIPLib/drivers/rfdc/examples"

do_compile:prepend () {
    cd ${S}/${RFDC_SUBDIR}
    cp Makefile.Linux Makefile
}