rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | #Basic Configuration |
| 2 | DESCRIPTION = "BACH environment initialization." |
| 3 | SECTION = "base" |
| 4 | LICENSE = "MediaTekProprietary" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e1696b147d49d491bcb4da1a57173fff" |
| 6 | MTK_SRC = "${BACH_SRC}/../bin" |
| 7 | MTK_PREBUILT = "${BACH_PREBUILT}/../bin" |
| 8 | |
| 9 | WORKONSRC = "${MTK_SRC}" |
| 10 | |
| 11 | inherit workonsrc |
| 12 | |
| 13 | ALLOW_EMPTY_${PN} = "1" |
| 14 | |
| 15 | do_install () { |
| 16 | chmod a+x ${MTK_SRC}/bin/* |
| 17 | cp -af ${MTK_SRC}/bin/* ${TOPDIR}/../meta/poky/scripts |
| 18 | install -d ${D}${includedir}/install |
| 19 | cp -af ${MTK_SRC}/* ${D}${includedir}/install/ |
| 20 | cp -af ${MTK_PREBUILT}/* ${D}${includedir}/install |
| 21 | } |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |