]> git.ipfire.org Git - people/dweismueller/ipfire-2.x.git/blobdiff - lfs/u-boot
u-boot: auto patch kernel version and change panda dtb in uEnv.txt.
[people/dweismueller/ipfire-2.x.git] / lfs / u-boot
index 1552566e102243b5baa5c756038f342c5e2954ee..28f65083cf9659a9c93eb2f0a34c52d4e20f3902 100644 (file)
@@ -126,6 +126,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        # config (uEnv.txt)
        cp -vf $(DIR_SRC)/config/u-boot/* /boot/
+       # patch real Kernel version to uEnv.txt
+       sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)