diff options
-rw-r--r-- | recipes-bsp/u-boot/u-boot.inc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc index d4fa04a..b2adbe2 100644 --- a/recipes-bsp/u-boot/u-boot.inc +++ b/recipes-bsp/u-boot/u-boot.inc @@ -67,8 +67,9 @@ UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}" UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}" FILES_${PN}-dev += "${includedir}/u-boot/* ${includedir}/u-boot/configs/* ${includedir}/u-boot/asm/*" -# Put the PR into the U-Boot image. If you can think of a better way, be my guest. -# Why must it be written in python? +# Put the PR into the U-Boot image. u-boot allows a local +# version in a file called localversion.* +# For some reason, this must be written in python. do_patch_append () { try: S = d.getVar("S",True) @@ -108,8 +109,7 @@ do_compile () { j=`expr $j + 1`; if [ $j -eq $i ] then - echo 'JAK was here' - oe_runmake PATCHLEVEL=${PR} O=${config} ${config} --defconfig mtconfig + oe_runmake O=${config} ${config} --defconfig mtconfig oe_runmake O=${config} ${UBOOT_MAKE_TARGET} cp ${S}/${config}/${UBOOT_BINARY} ${S}/${config}/u-boot-${type}.${UBOOT_SUFFIX} fi @@ -118,8 +118,7 @@ do_compile () { done unset i else - echo 'JAK 2 was here' - oe_runmake PATCHLEVEL=${PR} ${UBOOT_MACHINE} + oe_runmake ${UBOOT_MACHINE} oe_runmake ${UBOOT_MAKE_TARGET} fi |