diff options
| author | Adrian Freihofer <adrian.freihofer@siemens.com> | 2024-09-04 16:46:21 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-05 21:48:47 +0100 |
| commit | 64eb8c9c26db12c761caff71e50a7213c0f7b896 (patch) | |
| tree | 922f4691f05a6faf3f1b9e6311fb698f4f923c10 /meta/classes-recipe/cml1.bbclass | |
| parent | 4a3990485fecf1450ec1eace185af942afcf5236 (diff) | |
| download | poky-64eb8c9c26db12c761caff71e50a7213c0f7b896.tar.gz | |
cml1: add do_savedefconfig
Move the do_savedefconfig task definition from u-boot and kernel to
cml1.bbclass. There are more recipes which use the kbuild framework and
benefit from a do_savedefconfig task.
(From OE-Core rev: 2b2ed48903e09196ee20da7f66b1d3689e4a4473)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/cml1.bbclass')
| -rw-r--r-- | meta/classes-recipe/cml1.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass index 03e5fe6f47..8c207daec4 100644 --- a/meta/classes-recipe/cml1.bbclass +++ b/meta/classes-recipe/cml1.bbclass | |||
| @@ -113,3 +113,10 @@ do_showconfig() { | |||
| 113 | } | 113 | } |
| 114 | do_showconfig[nostamp] = "1" | 114 | do_showconfig[nostamp] = "1" |
| 115 | addtask showconfig after do_configure | 115 | addtask showconfig after do_configure |
| 116 | |||
| 117 | do_savedefconfig() { | ||
| 118 | bbplain "Saving defconfig to:\n${B}/defconfig" | ||
| 119 | oe_runmake -C ${B} savedefconfig | ||
| 120 | } | ||
| 121 | do_savedefconfig[nostamp] = "1" | ||
| 122 | addtask savedefconfig after do_configure | ||
