blob: 3de8f7f7b27c00269e2551f12a8d231d502173e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PR = "r1"
DESCRIPTION = "Helper script for OE's llvm support"
PR = "r1"
BBCLASSEXTEND = "native"
SRC_URI = "file://llvm-config"
PACKAGES = ""
NATIVE_INSTALL_WORKS = "1"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/llvm-config ${D}${bindir}
}
# 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_stage() {
install -d ${DESTINATION}
install -m 0755 ${WORKDIR}/llvm-config ${DESTINATION}
}
|