diff options
author | Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> | 2022-11-16 17:04:36 +0530 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2022-11-21 11:03:24 -0600 |
commit | 664913cec261af758ae6c44dd046b87d11d049bf (patch) | |
tree | c16c6983b1ec4c8fdabb41f2cd603c5c5b4db334 /meta-xilinx-core/classes | |
parent | c2d8d5e195c441919d1b8ac299b2123560de4d77 (diff) | |
download | meta-xilinx-664913cec261af758ae6c44dd046b87d11d049bf.tar.gz |
layer.conf: Gen-machine-conf support
Update layer.conf file to export the gen-machine-conf PATH.
gen-machine-conf bbclass is to update the PATH in esdk.
Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com>
Change from INHERIT to IMAGE_CLASSES
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/classes')
-rw-r--r-- | meta-xilinx-core/classes/gen-machine-conf.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-xilinx-core/classes/gen-machine-conf.bbclass b/meta-xilinx-core/classes/gen-machine-conf.bbclass new file mode 100644 index 00000000..d1b46f48 --- /dev/null +++ b/meta-xilinx-core/classes/gen-machine-conf.bbclass | |||
@@ -0,0 +1,6 @@ | |||
1 | #Add scripts path with the tools to PATH to be able to use from eSDK | ||
2 | sdk_ext_postinst:append() { | ||
3 | if [ -d $target_sdk_dir/layers/meta-xilinx/gen-machine-conf ]; then | ||
4 | echo "export PATH=$target_sdk_dir/layers/meta-xilinx/gen-machine-conf:\$PATH" >> $env_setup_script | ||
5 | fi | ||
6 | } | ||