diff options
| -rw-r--r-- | meta/recipes-devtools/autogen/autogen-native_5.18.4.bb | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/autogen/autogen/redirect-output-dir.patch | 28 |
2 files changed, 31 insertions, 1 deletions
diff --git a/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb b/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb index 302ba79f77..5fd6b7eab4 100644 --- a/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb +++ b/meta/recipes-devtools/autogen/autogen-native_5.18.4.bb | |||
| @@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
| 11 | SRC_URI = "${GNU_MIRROR}/autogen/rel${PV}/autogen-${PV}.tar.gz \ | 11 | SRC_URI = "${GNU_MIRROR}/autogen/rel${PV}/autogen-${PV}.tar.gz \ |
| 12 | file://guile.patch \ | 12 | file://guile.patch \ |
| 13 | file://increase-timeout-limit.patch \ | 13 | file://increase-timeout-limit.patch \ |
| 14 | file://mk-tpl-config.sh-force-exit-value-to-be-0-in-subproc.patch" | 14 | file://mk-tpl-config.sh-force-exit-value-to-be-0-in-subproc.patch \ |
| 15 | file://redirect-output-dir.patch \ | ||
| 16 | " | ||
| 15 | 17 | ||
| 16 | SRC_URI[md5sum] = "6f48029cc839303d28496e1609868938" | 18 | SRC_URI[md5sum] = "6f48029cc839303d28496e1609868938" |
| 17 | SRC_URI[sha256sum] = "3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d" | 19 | SRC_URI[sha256sum] = "3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d" |
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 @@ | |||
| 1 | [PATCH] redirect the dir of mklibsrc-log.tx | ||
| 2 | |||
| 3 | Upstream-Statue: Pending | ||
| 4 | |||
| 5 | redirect mklibsrc-log.tx to builddir, not /tmp; otherwise mklibsrc-log.tx | ||
| 6 | maybe unable to be written if other users is building autogen at the same time. | ||
| 7 | |||
| 8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
| 9 | --- | ||
| 10 | pkg/libopts/mklibsrc.sh | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/pkg/libopts/mklibsrc.sh b/pkg/libopts/mklibsrc.sh | ||
| 14 | index 416b402..d612fbc 100644 | ||
| 15 | --- a/pkg/libopts/mklibsrc.sh | ||
| 16 | +++ b/pkg/libopts/mklibsrc.sh | ||
| 17 | @@ -19,7 +19,7 @@ | ||
| 18 | ## with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | |||
| 20 | set -ex | ||
| 21 | -exec 2> /tmp/mklibsrc-log.tx | ||
| 22 | +exec 2> $top_builddir/mklibsrc-log.tx | ||
| 23 | |||
| 24 | top_builddir=`cd $top_builddir ; pwd` | ||
| 25 | top_srcdir=`cd $top_srcdir ; pwd` | ||
| 26 | -- | ||
| 27 | 1.9.1 | ||
| 28 | |||
