]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/u-boot
kernel: update to 4.9.25
[ipfire-2.x.git] / lfs / u-boot
index 1552566e102243b5baa5c756038f342c5e2954ee..3b3fbf22117fe5027aa89eda1ae31a01f42f6eb1 100644 (file)
@@ -75,6 +75,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/U-Boot-v2-fs-fat-read-fix-fat16-ls-read-issue.patch
+
        # Pandaboard
        -mkdir -pv /usr/share/u-boot/pandaboard
        cd $(DIR_APP) && make CROSS_COMPILE="" omap4_panda_config
@@ -126,6 +128,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)