diff options
Diffstat (limited to 'classes/populate_b2qt_sdk.bbclass')
-rw-r--r-- | classes/populate_b2qt_sdk.bbclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/classes/populate_b2qt_sdk.bbclass b/classes/populate_b2qt_sdk.bbclass index 75c6e55..2902f96 100644 --- a/classes/populate_b2qt_sdk.bbclass +++ b/classes/populate_b2qt_sdk.bbclass | |||
@@ -38,10 +38,7 @@ replace_sysroot_symlink() { | |||
38 | #check whether TARGET is inside the sysroot when not prepend the sysroot | 38 | #check whether TARGET is inside the sysroot when not prepend the sysroot |
39 | TARGET=`echo ${TARGET} | grep "^${SYMLINK_SYSROOT}" || echo ${SYMLINK_SYSROOT}${TARGET}` | 39 | TARGET=`echo ${TARGET} | grep "^${SYMLINK_SYSROOT}" || echo ${SYMLINK_SYSROOT}${TARGET}` |
40 | rm "${SOURCE}" | 40 | rm "${SOURCE}" |
41 | if [ -d "${TARGET}" ]; then | 41 | if [ -f "${TARGET}" ]; then |
42 | cp -r "${TARGET}" "${SOURCE}" | ||
43 | replace_sysroot_symlink ${SYMLINK_SYSROOT} ${SOURCE} | ||
44 | elif [ -f "${TARGET}" ]; then | ||
45 | cp "${TARGET}" "${SOURCE}" | 42 | cp "${TARGET}" "${SOURCE}" |
46 | elif [ -e "${TARGET}" ]; then | 43 | elif [ -e "${TARGET}" ]; then |
47 | touch "${SOURCE}" | 44 | touch "${SOURCE}" |