diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-24 10:18:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-25 17:10:57 +0100 |
commit | 204bc1f39030a3c0dd3eadadabb013aca8bb9cc6 (patch) | |
tree | f87ad4d8d346f2aa26b660456d2170c194cc0b30 /meta/recipes-devtools/gcc/libgfortran.inc | |
parent | 14ef03182e1e5fe7cf6b4112f29e6609631aa78d (diff) | |
download | openembedded-core-204bc1f39030a3c0dd3eadadabb013aca8bb9cc6.tar.gz openembedded-core-204bc1f39030a3c0dd3eadadabb013aca8bb9cc6.tar.bz2 openembedded-core-204bc1f39030a3c0dd3eadadabb013aca8bb9cc6.zip |
gcc: Convert to use hardlinkdir
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/libgfortran.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgfortran.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc index 3ae063279e..30e5ffeead 100644 --- a/meta/recipes-devtools/gcc/libgfortran.inc +++ b/meta/recipes-devtools/gcc/libgfortran.inc @@ -7,9 +7,7 @@ EXTRA_OECONF_PATHS = " \ do_configure () { mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` - #cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/* ${B} - (cd ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/; find . -print0 | cpio --null -pdlu ${B}) - (cd ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/; find . -type l -print0 | cpio -pd0mLu --no-preserve-owner ${B}) + hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B} echo "Configuring libgfortran" rm -rf ${B}/$target/libgfortran/ |