summaryrefslogtreecommitdiff
path: root/recipes/llvm/llvm-common.bb
blob: 225a6d033cd8075fe1ce5f4e0bcae47369582a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Helper script for OE's llvm support"

PR = "r3"

SRC_URI = "file://llvm-config"

NATIVE_INSTALL_WORKS = "1"

do_install_virtclass-native() {
  install -d ${D}${bindir}
  install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir}
}

do_install() {
  install -d ${STAGING_BINDIR_CROSS}
  install -m 0755 ${WORKDIR}/llvm-config ${STAGING_BINDIR_CROSS}
}

BBCLASSEXTEND = "native"