diff options
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 | } | ||