blob: f1f34d5ff9b1344ad58cf5bd0c4c376f5a59a013 (
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
31
32
33
|
# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "SDK Cross compiler wrappers for LLVM based C/C++ compiler"
HOMEPAGE = "http://clang.llvm.org/"
LICENSE = "Apache-2.0-with-LLVM-exception"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0-with-LLVM-exception;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
SECTION = "devel"
inherit nativesdk
DEPENDS += "nativesdk-clang"
do_install() {
install -d ${D}${prefix_nativesdk}
cd ${D}${prefix_nativesdk}
ln -s ..${libdir} .
ln -s ..${includedir} .
cd ..
ln -s .${base_libdir} .
}
sysroot_stage_all () {
sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
}
FILES:${PN} += "${prefix_nativesdk} ${base_libdir_nativesdk}"
FILES:${PN}-dbg = ""
deltask do_configure
deltask do_compile
deltask do_patch
deltask do_fetch
deltask do_unpack
|