diff options
Diffstat (limited to 'meta-ti-bsp')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc | 7 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc new file mode 100644 index 00000000..c7ce5047 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | do_configure:append () { | ||
2 | if [ -n "${UBOOT_CONFIG_FRAGMENTS}" ] && [ -n "${UBOOT_MACHINE}" ] | ||
3 | then | ||
4 | oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE} ${UBOOT_CONFIG_FRAGMENTS} | ||
5 | oe_runmake -C ${S} O=${B} olddefconfig | ||
6 | fi | ||
7 | } | ||
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index d9a3a520..92eaf0cc 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | |||
@@ -7,6 +7,7 @@ SPL_BINARY ?= "MLO" | |||
7 | 7 | ||
8 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc | 8 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc |
9 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc | 9 | require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc |
10 | require u-boot-mergeconfig.inc | ||
10 | 11 | ||
11 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" | 12 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" |
12 | 13 | ||