Commit Graph

5 Commits

Author SHA1 Message Date
Christopher Larson
b51864d8e6 glibc: don't install a multilib suffix of '.'
This was causing it to package the entire sysroot in certain cases.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-07-01 11:47:02 -07:00
adnan-ali1
3f10799bf7 glibc-external: add multilib link to -dev package
This link is required by linker to link libraries and crt* files in our
ADE/SDK. The 'rm -f' command is changed to 'rm -rf' because
external-toolchain.bbclass copies all the stuff required by PACKAGES to image
folder (in do_install stage). In doing so it copies the architecture folder
(as it is required by FILES_${PN}-dev ) from sourcery folder to image folder
in work directory. Afterwords when we try to remove the directory with 'rm -f'
it prompts an error as directories cannot be deleted with this command.

Signed-off-by: adnan-ali1 <adnan_ali@mentor.com>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2015-06-15 09:29:54 -07:00
Christopher Larson
b5c16532c4 Revert "Merge pull request #74 from adnan-ali1/multilib-link"
This reverts commit f230938ec7, reversing
changes made to ff3bf44d4a.
2015-06-15 09:29:54 -07:00
adnan-ali1
b465038b28 Architecture link in ADE Target Sysroot
This link is required by linker to link libraries and crt* files. The
'rm -f' command is changed to 'rm -rf' because in cedar release
external-
toolchain.bbclass copies all the stuff required by PACKAGES to image
folder (in do_install stage). In doing so it copies the architecture
folder (as it is required by FILES_glibc-multilib-link ) from sorcery
folder to image folder in work directory. Afterwords when we try to
remove the directory with 'rm -f' it prompts an error as directories
cannot be deleted with this command.

Signed-off-by: adnan-ali1 <m_adnanali_1@hotmail.com>
2015-06-03 20:51:51 +05:00
Christopher Larson
0beb66b376 Split up external-sourcery-toolchain into separate recipes
common-license.bbclass will set LIC_FILES_CHKSUM to a common license file
based on LICENSE, which is appropriate for a case where we have no sources to
refer to.
external-toolchain.bbclass, among other things, handles extraction of files in
the external toolchain sysroot, based on patterns in the FILES variables,
checking alternate locations to better support any arbitrary toolchain, and
has basic mirror handling for checking multiple paths within the sysroots.

Under normal circumstances, I'd want this to use highly granular commits, but
this branch has been extremely long lived (>1yr) and is such an invasive
refactoring that attempting to break it down now would be of limited
usefulness.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2014-12-19 10:35:25 -07:00