From 664913cec261af758ae6c44dd046b87d11d049bf Mon Sep 17 00:00:00 2001 From: Raju Kumar Pothuraju Date: Wed, 16 Nov 2022 17:04:36 +0530 Subject: 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 Change from INHERIT to IMAGE_CLASSES Signed-off-by: Mark Hatle --- meta-xilinx-core/classes/gen-machine-conf.bbclass | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-xilinx-core/classes/gen-machine-conf.bbclass (limited to 'meta-xilinx-core/classes') 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 @@ +#Add scripts path with the tools to PATH to be able to use from eSDK +sdk_ext_postinst:append() { + if [ -d $target_sdk_dir/layers/meta-xilinx/gen-machine-conf ]; then + echo "export PATH=$target_sdk_dir/layers/meta-xilinx/gen-machine-conf:\$PATH" >> $env_setup_script + fi +} -- cgit v1.2.3-54-g00ecf