summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/scripts/yocto-compat-layer-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/scripts/yocto-compat-layer-wrapper')
-rwxr-xr-ximport-layers/yocto-poky/scripts/yocto-compat-layer-wrapper27
1 files changed, 0 insertions, 27 deletions
diff --git a/import-layers/yocto-poky/scripts/yocto-compat-layer-wrapper b/import-layers/yocto-poky/scripts/yocto-compat-layer-wrapper
deleted file mode 100755
index db4b6871b..000000000
--- a/import-layers/yocto-poky/scripts/yocto-compat-layer-wrapper
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-
-# Yocto Project compatibility layer tool wrapper
-#
-# Creates a temprary build directory to run Yocto Project Compatible
-# script to avoid a contaminated environment.
-#
-# Copyright (C) 2017 Intel Corporation
-# Released under the MIT license (see COPYING.MIT)
-
-if [ -z "$BUILDDIR" ]; then
- echo "Please source oe-init-build-env before run this script."
- exit 2
-fi
-
-base_dir=$(realpath $BUILDDIR/../)
-cd $base_dir
-
-build_dir=$(mktemp -p $base_dir -d -t build-XXXX)
-
-source oe-init-build-env $build_dir
-yocto-compat-layer.py "$@"
-retcode=$?
-
-rm -rf $build_dir
-
-exit $retcode
OpenPOWER on IntegriCloud