update drivers(duo2, solo2, solose, zero)
[vuplus_openvuplus_3.0] / meta-bsp / recipes-vuplus / vuplus-platform-util / vuplus-platform-util.inc
1 SECTION = "base"
2 LICENSE = "CLOSED"
3 require conf/license/license-close.inc
4
5 PROVIDES += "vuplus-platform-util"
6 RPROVIDES_${PN} += "vuplus-platform-util"
7
8 PV="15.1"
9 PR="${SRCDATE}.${SRCDATE_PR}"
10
11 SRC_URI = " \
12     http://archive.vuplus.com/download/build_support/vuplus/platform-util-${MACHINE}-${PV}-${PR}.tar.gz \
13     file://${INITSCRIPT_NAME}.sysvinit \
14 "
15
16 S="${WORKDIR}/platform-util-${MACHINE}"
17
18 do_install() {
19         install -d ${D}${bindir}
20         install -m 0755 ${S}/* ${D}${bindir}
21 }
22
23 do_package_qa() {
24 }
25
26 PACKAGE_ARCH := "${MACHINE_ARCH}"
27 FILES_${PN}="/"
28
29 inherit update-rc.d
30
31 INITSCRIPT_PARAMS = "start 65 S . stop 90 0 ."
32 INITSCRIPT_NAME = "vuplus-platform-util"
33
34 do_install_append() {
35         if [ -f ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ]; then
36                 install -d ${D}${INIT_D_DIR}
37                 install -m 0755 ${WORKDIR}/${INITSCRIPT_NAME}.sysvinit ${D}${INIT_D_DIR}/${INITSCRIPT_NAME}
38         fi
39 }
40
41 INSANE_SKIP_${PN} = "already-stripped"
42