1 # This provides the logic for creating the desired u-boot config,
2 # accounting for any *.cfg files added to SRC_URI. It's separated
3 # from u-boot.inc for use by recipes that need u-boot properly
4 # configured but aren't doing a full build of u-boot itself (such as
5 # its companion tools).
7 inherit uboot-config cml1
9 DEPENDS += "kern-tools-native"
12 if [ -n "${UBOOT_CONFIG}" ]; then
14 for config in ${UBOOT_MACHINE}; do
16 for type in ${UBOOT_CONFIG}; do
18 if [ $j -eq $i ]; then
19 oe_runmake -C ${S} O=${B}/${config} ${config}
20 if [ -n "${@' '.join(find_cfgs(d))}" ]; then
21 merge_config.sh -m -O ${B}/${config} ${B}/${config}/.config ${@" ".join(find_cfgs(d))}
22 oe_runmake -C ${S} O=${B}/${config} oldconfig
30 if [ -n "${UBOOT_MACHINE}" ]; then
31 oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE}
33 oe_runmake -C ${S} O=${B} oldconfig
35 merge_config.sh -m .config ${@" ".join(find_cfgs(d))}