diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-12-15 13:52:16 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2022-01-14 15:37:02 -0800 |
commit | f900c6a0c8908e370689235230094308ec419cf9 (patch) | |
tree | bd9ca83e452c263c7a421b826086048cf8130f34 /meta-xilinx-core/classes/xilinx-platform-init.bbclass | |
parent | aaddcc3f785404da04af9ea3d005f2f520b4ec9e (diff) | |
download | meta-xilinx-f900c6a0c8908e370689235230094308ec419cf9.tar.gz |
Initial restructure/split of meta-xilinx-bsp
Create a new meta-xilinx-core, move core functionality to the core, keeping
board specific files in the bsp layer.
zynqmp-generic changed from require <board> to include, so if meta-xilinx-bsp
is not available it will not fail.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-core/classes/xilinx-platform-init.bbclass')
-rw-r--r-- | meta-xilinx-core/classes/xilinx-platform-init.bbclass | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/xilinx-platform-init.bbclass b/meta-xilinx-core/classes/xilinx-platform-init.bbclass new file mode 100644 index 00000000..99f7863a --- /dev/null +++ b/meta-xilinx-core/classes/xilinx-platform-init.bbclass | |||
@@ -0,0 +1,14 @@ | |||
1 | # This class should be included by any recipe that wants to access or provide | ||
2 | # the platform init source files which are used to initialize a Zynq or ZynqMP | ||
3 | # SoC. | ||
4 | |||
5 | # Define the path to the xilinx platform init code/headers | ||
6 | PLATFORM_INIT_DIR ?= "/usr/src/xilinx-platform-init" | ||
7 | |||
8 | PLATFORM_INIT_STAGE_DIR = "${STAGING_DIR_HOST}${PLATFORM_INIT_DIR}" | ||
9 | |||
10 | # Target files use for platform init | ||
11 | PLATFORM_INIT_FILES ?= "" | ||
12 | PLATFORM_INIT_FILES:zynq = "ps7_init_gpl.c ps7_init_gpl.h" | ||
13 | PLATFORM_INIT_FILES:zynqmp = "psu_init_gpl.c psu_init_gpl.h" | ||
14 | |||