diff options
Diffstat (limited to 'meta/recipes-core/meta/uninative-tarball.bb')
-rw-r--r-- | meta/recipes-core/meta/uninative-tarball.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 7eebcaf11a..0dbc698ccd 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb | |||
@@ -51,13 +51,14 @@ fakeroot create_sdk_files() { | |||
51 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py | 51 | sed -i -e "s:##DEFAULT_INSTALL_DIR##:$escaped_sdkpath:" ${SDK_OUTPUT}/${SDKPATH}/relocate_sdk.py |
52 | } | 52 | } |
53 | 53 | ||
54 | |||
55 | fakeroot archive_sdk() { | 54 | fakeroot archive_sdk() { |
56 | cd ${SDK_OUTPUT}/${SDKPATH} | 55 | cd ${SDK_OUTPUT}/${SDKPATH} |
57 | 56 | ||
58 | DEST="./${SDK_ARCH}-${SDK_OS}" | 57 | DEST="./${SDK_ARCH}-${SDK_OS}" |
59 | mv sysroots/${SDK_SYS} $DEST | 58 | mv sysroots/${SDK_SYS} $DEST |
60 | rm sysroots -rf | 59 | rm sysroots -rf |
60 | # There is a check in meta/files/toolchain-shar-extract.sh -- make sure to | ||
61 | # keep that check up to date if changing the `1024` | ||
61 | patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf | 62 | patchelf --set-interpreter ${@''.join('a' for n in range(1024))} $DEST/usr/bin/patchelf |
62 | mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative | 63 | mv $DEST/usr/bin/patchelf $DEST/usr/bin/patchelf-uninative |
63 | ${SDK_ARCHIVE_CMD} | 64 | ${SDK_ARCHIVE_CMD} |