diff options
| -rw-r--r-- | meta/classes-recipe/cml1.bbclass | 7 | ||||
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 7 | ||||
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 6 |
3 files changed, 7 insertions, 13 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 | ||
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index cdcc5e0032..a7c4bf0ef4 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass | |||
| @@ -689,13 +689,6 @@ kernel_do_configure() { | |||
| 689 | ${KERNEL_CONFIG_COMMAND} | 689 | ${KERNEL_CONFIG_COMMAND} |
| 690 | } | 690 | } |
| 691 | 691 | ||
| 692 | do_savedefconfig() { | ||
| 693 | bbplain "Saving defconfig to:\n${B}/defconfig" | ||
| 694 | oe_runmake -C ${B} savedefconfig | ||
| 695 | } | ||
| 696 | do_savedefconfig[nostamp] = "1" | ||
| 697 | addtask savedefconfig after do_configure | ||
| 698 | |||
| 699 | inherit cml1 pkgconfig | 692 | inherit cml1 pkgconfig |
| 700 | 693 | ||
| 701 | # Need LD, HOSTLDFLAGS and more for config operations | 694 | # Need LD, HOSTLDFLAGS and more for config operations |
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 | ||
| 32 | require u-boot-configure.inc | 32 | require u-boot-configure.inc |
| 33 | 33 | ||
| 34 | do_savedefconfig() { | ||
| 35 | bbplain "Saving defconfig to:\n${B}/defconfig" | ||
| 36 | oe_runmake -C ${B} savedefconfig | ||
| 37 | } | ||
| 38 | do_savedefconfig[nostamp] = "1" | ||
| 39 | addtask savedefconfig after do_configure | ||
| 40 | UBOOT_ARCH_DIR = "${@'arm' if d.getVar('UBOOT_ARCH').startswith('arm') else d.getVar('UBOOT_ARCH')}" | 34 | UBOOT_ARCH_DIR = "${@'arm' if d.getVar('UBOOT_ARCH').startswith('arm') else d.getVar('UBOOT_ARCH')}" |
| 41 | do_compile () { | 35 | do_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 |
