summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-mergeconfig.inc7
-rw-r--r--meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc1
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 @@
1do_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 f3285c23..5292517b 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
8require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc 8require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot-common.inc
9require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc 9require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
10require u-boot-mergeconfig.inc
10 11
11FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:" 12FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot:"
12 13