summaryrefslogtreecommitdiffstats
path: root/classes/clang-legacy.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* clang-legacy: Add unwindlib to LDFLAGS as well, rtlib and unwindlibHEADmasterKhem Raj3 days1-1/+1
| | | | | | | | options should be in sync or else clang will not link the binaries | x86_64-yoesdk-linux-clang: error: --rtlib=libgcc requires --unwindlib=libgcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not use --unwindlib or -rtlib for native toolchainKhem Raj13 days1-2/+0
| | | | | | | It will add these options to gcc as well when building native recipes as it is implemented in oe-core, this logic is different so adjust Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not set TOOLCHAIN hereKhem Raj13 days1-2/+0
| | | | | | TOOLCHAIN is possible to set for target/native/nativesdk separately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Adjust for oe-core changesKhem Raj13 days1-27/+14
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not use toolchain-clang override for native/nativesdkKhem Raj13 days1-2/+2
| | | | | | | | clang.bbclass in oe-core will define toolchain-gcc for nativesdk and thats perhaps better, ideally we should depend on llvm runtime unconditionally, so a package can use either llvm or gcc runtimes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Rename to clang-legacyKhem Raj13 days1-0/+162
A similar bbclass is added to oe-core, so rename it as legacy class Signed-off-by: Khem Raj <raj.khem@gmail.com>