blob: f0fad033fdc4287a56fdc3d9c87033db71b8d1bf (
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
34
35
|
DESCRIPTION = "Power management demo descriptions for Matrix v2"
HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
require matrix-gui-apps-git.inc
PR = "${INC_PR}.4"
inherit allarch
S = "${WORKDIR}/git/power_apps"
# Make sure power submenu and app images has been installed
RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"
# Break out the individual files into separate packages. That way only the
# PM features supported for each device can be installed. Prepend the list
# so that we can get the files in ${bindir} first.
PACKAGES =+ "${PN}-count ${PN}-dump-reg ${PN}-snapshot1 ${PN}-snapshot2 ${PN}-suspend ${PN}-governor"
# Split the matrix files by PM app
FILES_${PN}-count += "${MATRIX_APP_DIR}/pm_count/*"
FILES_${PN}-dump-reg += "${MATRIX_APP_DIR}/pm_dump_reg/*"
FILES_${PN}-snapshot1 += "${MATRIX_APP_DIR}/pm_snapshot_1/*"
FILES_${PN}-snapshot2 += "${MATRIX_APP_DIR}/pm_snapshot_2/*"
FILES_${PN}-suspend += "${MATRIX_APP_DIR}/pm_suspend/*"
FILES_${PN}-governor += "${MATRIX_APP_DIR}/pm_userspace_governor/* \
${MATRIX_APP_DIR}/pm_ondemand_governor/*"
# Split the ${bindir} files by PM app
FILES_${PN}-count += "${bindir}/pm_count.sh"
FILES_${PN}-dump-reg += "${bindir}/pm_dump_reg.sh"
FILES_${PN}-snapshot1 += "${bindir}/pm_snapshot_1.sh"
FILES_${PN}-snapshot2 += "${bindir}/pm_snapshot_2.sh"
FILES_${PN}-suspend += "${bindir}/pm_suspend.sh"
FILES_${PN}-governor += "${bindir}/setgovernor.sh"
|