diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-02-18 11:22:31 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-02-18 20:52:00 -0800 |
| commit | 696408ce3661b663a7895f75a01613e6cfeb8186 (patch) | |
| tree | ba8fc3f702b630274e586ba8ad2fe3fc0591ae65 /meta-oe/recipes-kernel | |
| parent | c90be40eb9f4028368ab5030e7f9a78d05707572 (diff) | |
| download | meta-openembedded-696408ce3661b663a7895f75a01613e6cfeb8186.tar.gz | |
pm-graph: Provide analyze-suspend as well
Remove stale analyze-suspend recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
| -rw-r--r-- | meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb index 63a9fa88e9..a1378866ad 100644 --- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb +++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb | |||
| @@ -12,11 +12,22 @@ SRC_URI = "git://github.com/intel/pm-graph.git \ | |||
| 12 | " | 12 | " |
| 13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 14 | 14 | ||
| 15 | # Apart from the listed RDEPENDS, analyze-suspend depends on some features | ||
| 16 | # provided by the kernel. These options are: | ||
| 17 | # - CONFIG_PM_DEBUG=y | ||
| 18 | # - CONFIG_PM_SLEEP_DEBUG=y | ||
| 19 | # - CONFIG_FTRACE=y | ||
| 20 | # - CONFIG_FUNCTION_TRACER=y | ||
| 21 | # - CONFIG_FUNCTION_GRAPH_TRACER=y | ||
| 22 | |||
| 15 | COMPATIBLE_HOST='(i.86|x86_64).*' | 23 | COMPATIBLE_HOST='(i.86|x86_64).*' |
| 16 | EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}" | 24 | EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}" |
| 17 | 25 | ||
| 18 | do_install() { | 26 | do_install() { |
| 19 | oe_runmake install | 27 | oe_runmake install |
| 28 | install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py | ||
| 20 | } | 29 | } |
| 21 | 30 | ||
| 22 | RDEPENDS_${PN} += "python3-core python3-threading python3-datetime python3-compression" | 31 | RDEPENDS_${PN} += "python3-core python3-threading python3-datetime python3-compression" |
| 32 | RPROVIDES_${PN} = "analyze-suspend" | ||
| 33 | BBCLASSEXTEND = "native nativesdk" | ||
