diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/llvm/llvm-common.bb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/recipes/llvm/llvm-common.bb b/recipes/llvm/llvm-common.bb index 861ae4ef02..225a6d033c 100644 --- a/recipes/llvm/llvm-common.bb +++ b/recipes/llvm/llvm-common.bb @@ -1,21 +1,19 @@ DESCRIPTION = "Helper script for OE's llvm support" -PR = "r2" - -BBCLASSEXTEND = "native" +PR = "r3" SRC_URI = "file://llvm-config" -PACKAGES = "" +NATIVE_INSTALL_WORKS = "1" -# For llvm-common the script should end up in STAGING_BINDIR_CROSS -# and for llvm-common-native it should be in STAGING_BINDIR. The -# script works together with a script that is installed by a -# corresponding llvm(-native) package. -DESTINATION = "${STAGING_BINDIR_CROSS}" -DESTINATION_virtclass-native = "${STAGING_BINDIR}" +do_install_virtclass-native() { + install -d ${D}${bindir} + install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir} +} -do_stage() { - install -d ${DESTINATION} - install -m 0755 ${WORKDIR}/llvm-config ${DESTINATION} +do_install() { + install -d ${STAGING_BINDIR_CROSS} + install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR_CROSS} } + +BBCLASSEXTEND = "native" |