diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-06-05 11:03:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-08 17:32:45 +0100 |
commit | 8cc63ea7e1e4838988f61bdedf395d8f5f328450 (patch) | |
tree | 010f4c4a6985dc59e08ed4fe9092313975c6915e /meta/recipes-devtools/autogen/autogen | |
parent | de4d9d46bd293da820830f22d9ff08c0f26831c6 (diff) | |
download | openembedded-core-8cc63ea7e1e4838988f61bdedf395d8f5f328450.tar.gz openembedded-core-8cc63ea7e1e4838988f61bdedf395d8f5f328450.tar.bz2 openembedded-core-8cc63ea7e1e4838988f61bdedf395d8f5f328450.zip |
autogen: redirect the log file to build dir
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/autogen/autogen')
-rw-r--r-- | meta/recipes-devtools/autogen/autogen/redirect-output-dir.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autogen/autogen/redirect-output-dir.patch b/meta/recipes-devtools/autogen/autogen/redirect-output-dir.patch new file mode 100644 index 0000000000..de126ed1f5 --- /dev/null +++ b/meta/recipes-devtools/autogen/autogen/redirect-output-dir.patch @@ -0,0 +1,28 @@ +[PATCH] redirect the dir of mklibsrc-log.tx + +Upstream-Statue: Pending + +redirect mklibsrc-log.tx to builddir, not /tmp; otherwise mklibsrc-log.tx +maybe unable to be written if other users is building autogen at the same time. + +Signed-off-by: Roy Li <rongqing.li@windriver.com> +--- + pkg/libopts/mklibsrc.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pkg/libopts/mklibsrc.sh b/pkg/libopts/mklibsrc.sh +index 416b402..d612fbc 100644 +--- a/pkg/libopts/mklibsrc.sh ++++ b/pkg/libopts/mklibsrc.sh +@@ -19,7 +19,7 @@ + ## with this program. If not, see <http://www.gnu.org/licenses/>. + + set -ex +-exec 2> /tmp/mklibsrc-log.tx ++exec 2> $top_builddir/mklibsrc-log.tx + + top_builddir=`cd $top_builddir ; pwd` + top_srcdir=`cd $top_srcdir ; pwd` +-- +1.9.1 + |