diff options
| author | Jonathan Liu <net147@gmail.com> | 2013-06-12 13:55:05 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-06-20 12:29:56 +0200 |
| commit | 90e34fa05af97dbd2ac4cd12032fe805cacf4071 (patch) | |
| tree | 723a8154dfd034e8dbf5b81e9bfa9f678c330605 | |
| parent | 76187e9a7953d932adab2a7d8ead6ad290e9ab73 (diff) | |
| download | meta-openembedded-90e34fa05af97dbd2ac4cd12032fe805cacf4071.tar.gz | |
llvm-common: move cross script install to sysroot preprocess function
The llvm-config script doesn't get placed in the target sysroot
crossscripts directory otherwise.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/recipes-core/llvm/llvm-common.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm-common.bb b/meta-oe/recipes-core/llvm/llvm-common.bb index 612fd34f77..192919ee92 100644 --- a/meta-oe/recipes-core/llvm/llvm-common.bb +++ b/meta-oe/recipes-core/llvm/llvm-common.bb | |||
| @@ -6,7 +6,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 | |||
| 6 | 6 | ||
| 7 | SRC_URI = "file://llvm-config" | 7 | SRC_URI = "file://llvm-config" |
| 8 | 8 | ||
| 9 | do_install() { | 9 | ALLOW_EMPTY_${PN} = "1" |
| 10 | SYSROOT_PREPROCESS_FUNCS_append_class-target = " llvm_common_sysroot_preprocess" | ||
| 11 | |||
| 12 | llvm_common_sysroot_preprocess() { | ||
| 10 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 13 | install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
| 11 | install -m 0755 ${WORKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ | 14 | install -m 0755 ${WORKDIR}/llvm-config ${SYSROOT_DESTDIR}${bindir_crossscripts}/ |
| 12 | } | 15 | } |
