summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* clang/classes: Invert the logic to select toolchain and default to clangKhem Raj2015-08-211-6/+37
| | | | | | | | | | | | | | | | | | | | | So far we have been selecting which packages are compiled using clang this patch changes the logic to use clang by default unless selecting TOOLCHAIN = "gcc" explicitly in the recipe We have not yet enabled clang for native recipes, its only enabled for target recipes needing cross compilation as of now. Get rid of configuration file and move the code to clang.bbclass, simplifies the logic If needed to select gcc to be default system compiler set TOOLCHAIN = "gcc" in local.conf Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Remove junk filesKhem Raj2015-04-221-0/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross: Rename PN to include TARGET_ARCHKhem Raj2015-04-061-0/+0
| | | | | | brings it inline with gcc toolchain Signed-off-by: Khem Raj <raj.khem@gmail.com>
* classes: Add a mechanism, to select components to be able to select default ↵Khem Raj2015-03-121-0/+10
compiler We add clang as an alternative compiler, it sitll uses underlying binutils and compiler runtime, it will only do the compilation and defer link, to GNU ld/gold, to compile a component usign clang add TOOLCHAIN_pn-<recipe-name> = "clang" DEPENDS_append_pn-<recipe-name> = " clang-cross " And OE will start using clang to compile <recipe-name> Signed-off-by: Khem Raj <raj.khem@gmail.com>