]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/u-boot
pkg-config: update to 2.29.2
[ipfire-2.x.git] / lfs / u-boot
index 1552566e102243b5baa5c756038f342c5e2954ee..e34f76a151c8f663f86ae896d2dd49cccb650953 100644 (file)
@@ -75,6 +75,10 @@ $(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
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot-support-gcc-6.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot-c99-inline-fix.patch
+
        # Pandaboard
        -mkdir -pv /usr/share/u-boot/pandaboard
        cd $(DIR_APP) && make CROSS_COMPILE="" omap4_panda_config
@@ -126,6 +130,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)