From 204bc1f39030a3c0dd3eadadabb013aca8bb9cc6 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 24 Apr 2014 10:18:03 +0100 Subject: gcc: Convert to use hardlinkdir Signed-off-by: Richard Purdie --- meta/recipes-devtools/gcc/gcc-runtime.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/gcc/gcc-runtime.inc') diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index f8c1109f41..2e82a09b1c 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime.inc +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc @@ -22,7 +22,7 @@ do_configure () { export CXX="${CXX} -nostdinc++ -nostdlib++" 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} + hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B} for d in libgcc ${RUNTIMETARGET}; do echo "Configuring $d" rm -rf ${B}/$target/$d/ -- cgit v1.2.3