diff options
| -rw-r--r-- | meta/recipes-bsp/u-boot/u-boot.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc index b2f33e3826..5705e5835b 100644 --- a/meta/recipes-bsp/u-boot/u-boot.inc +++ b/meta/recipes-bsp/u-boot/u-boot.inc | |||
| @@ -26,6 +26,13 @@ UBOOT_LOCALVERSION ?= "" | |||
| 26 | 26 | ||
| 27 | require u-boot-configure.inc | 27 | require u-boot-configure.inc |
| 28 | 28 | ||
| 29 | do_savedefconfig() { | ||
| 30 | bbplain "Saving defconfig to:\n${B}/defconfig" | ||
| 31 | oe_runmake -C ${B} savedefconfig | ||
| 32 | } | ||
| 33 | do_savedefconfig[nostamp] = "1" | ||
| 34 | addtask savedefconfig after do_configure | ||
| 35 | |||
| 29 | do_compile () { | 36 | do_compile () { |
| 30 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then | 37 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then |
| 31 | sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' ${S}/config.mk | 38 | sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' ${S}/config.mk |
