diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb')
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb new file mode 100644 index 00000000..e6cf1d8b --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-bsp/embeddedsw/esw-conf_git.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | # Can't depend on esw since this is needed for setup! | ||
2 | inherit xlnx-embeddedsw | ||
3 | |||
4 | # We need to override the inherit | ||
5 | require conf/dtb-embeddedsw.inc | ||
6 | |||
7 | S = "${WORKDIR}/git" | ||
8 | B = "${WORKDIR}/build" | ||
9 | |||
10 | INHIBIT_DEFAULT_DEPS = "1" | ||
11 | |||
12 | # Installing this recipe should install the lopper tools and such | ||
13 | DEPENDS = "lopper xilinx-lops" | ||
14 | |||
15 | COMPATIBLE_HOST:forcevariable = ".*" | ||
16 | |||
17 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | ||
18 | |||
19 | do_configure[noexec] = '1' | ||
20 | do_compile[noexec] = '1' | ||
21 | |||
22 | do_install() { | ||
23 | # The configuration step requires only the yaml files, make them | ||
24 | # available to the SDK | ||
25 | cd ${S}${ESW_COMPONENT_SRC} | ||
26 | for each in `find . -name *.yaml` ; do | ||
27 | mkdir -p $(dirname ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each) | ||
28 | install -m 0644 $each ${D}/${datadir}/embeddedsw${ESW_COMPONENT_SRC}$each | ||
29 | done | ||
30 | } | ||
31 | |||
32 | FILES:${PN} += "${datadir}/embeddedsw" | ||
33 | |||
34 | BBCLASSEXTEND = "native nativesdk" | ||