diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot.inc')
-rw-r--r-- | recipes-bsp/u-boot/u-boot.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc index c69c650..a44dde5 100644 --- a/recipes-bsp/u-boot/u-boot.inc +++ b/recipes-bsp/u-boot/u-boot.inc @@ -85,6 +85,12 @@ do_patch_append () { except TypeError: bb.fatal("PR is missing from recipe") f.write(PR + os.linesep) + try: + S = d.getVar("S",True) + except TypeError: + bb.fatal("S is missing from recipe") + + os.system("sed -i s/^CONFIG_BOOTDELAY=.*/CONFIG_BOOTDELAY=2/ " + S + "/configs/at91sam9x5ek_nandflash_defconfig") } |