summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@siemens.com>2024-09-04 16:46:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-05 21:48:47 +0100
commit64eb8c9c26db12c761caff71e50a7213c0f7b896 (patch)
tree922f4691f05a6faf3f1b9e6311fb698f4f923c10 /meta/recipes-bsp/u-boot
parent4a3990485fecf1450ec1eace185af942afcf5236 (diff)
downloadpoky-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/recipes-bsp/u-boot')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index ed3822784e..9100964c73 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -31,12 +31,6 @@ UBOOT_INITIAL_ENV ?= "${PN}-initial-env"
31 31
32require u-boot-configure.inc 32require u-boot-configure.inc
33 33
34do_savedefconfig() {
35 bbplain "Saving defconfig to:\n${B}/defconfig"
36 oe_runmake -C ${B} savedefconfig
37}
38do_savedefconfig[nostamp] = "1"
39addtask savedefconfig after do_configure
40UBOOT_ARCH_DIR = "${@'arm' if d.getVar('UBOOT_ARCH').startswith('arm') else d.getVar('UBOOT_ARCH')}" 34UBOOT_ARCH_DIR = "${@'arm' if d.getVar('UBOOT_ARCH').startswith('arm') else d.getVar('UBOOT_ARCH')}"
41do_compile () { 35do_compile () {
42 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then 36 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then