]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/linux
kernel: update to 4.14.86
[ipfire-2.x.git] / lfs / linux
index f4700859cf08751869d2aefed22abd552f84f969..0994e3e5672a5efda234bf5263d2cee20c92a163 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team <info@ipfire.org>                      #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,8 +24,8 @@
 
 include Config
 
-VER         = 4.14.50
-ARM_PATCHES = 4.14.50-ipfire0
+VER         = 4.14.86
+ARM_PATCHES = 4.14.86-ipfire0
 
 THISAPP    = linux-$(VER)
 DL_FILE    = linux-$(VER).tar.xz
@@ -34,12 +34,12 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 CFLAGS     =
 CXXFLAGS   =
 
-PAK_VER    = 75
+PAK_VER    = 79
 DEPS      = ""
 
+HEADERS_ARCH  = $(BUILD_PLATFORM)
 KERNEL_ARCH   = $(BUILD_ARCH)
 KERNEL_TARGET = bzImage
-HEADERS_ARCH  = $(BUILD_PLATFORM)
 
 ifeq "$(BUILD_ARCH)" "i586"
        KERNEL_ARCH = i386
@@ -52,6 +52,7 @@ ifeq "$(BUILD_ARCH)" "aarch64"
 endif
 
 ifeq "$(BUILD_ARCH)" "armv5tel"
+       KERNEL_ARCH  = arm
        KERNEL_TARGET = zImage
 endif
 
@@ -81,8 +82,8 @@ objects =$(DL_FILE) \
 $(DL_FILE)                                     = $(URL_IPFIRE)/$(DL_FILE)
 arm-multi-patches-$(ARM_PATCHES).patch.xz      = $(URL_IPFIRE)/arm-multi-patches-$(ARM_PATCHES).patch.xz
 
-$(DL_FILE)_MD5                                 = 0d397a2e14669a97d54c1b82ab2b1994
-arm-multi-patches-$(ARM_PATCHES).patch.xz_MD5  = c38181f9fd416f10352e3dd3a01bb1d1
+$(DL_FILE)_MD5                                 = 9ffeff88ca630a6e0ef0257b0a05b8c4
+arm-multi-patches-$(ARM_PATCHES).patch.xz_MD5  = 36b8a9adb8915cbccd18069e2f5af159
 
 install : $(TARGET)
 
@@ -156,6 +157,10 @@ endif
 ifeq "$(KCFG)" "-multi"
        # Apply Arm-multiarch kernel patches.
        cd $(DIR_APP) && xzcat $(DIR_DL)/arm-multi-patches-$(ARM_PATCHES).patch.xz | patch -Np1
+endif
+ifeq "$(BUILD_ARCH)" "aarch64"
+       # Apply Arm-multiarch kernel patches.
+       cd $(DIR_APP) && xzcat $(DIR_DL)/arm-multi-patches-$(ARM_PATCHES).patch.xz | patch -Np1
 endif
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-3.14.79-amba-fix.patch
 
@@ -189,7 +194,7 @@ else
 ifeq "$(BUILD_PLATFORM)" "arm"
        cd $(DIR_APP) && make $(MAKETUNING) dtbs
        mkdir -p /boot/dtb-$(VER)-$(VERSUFIX)
-       cd $(DIR_APP)/arch/$(HEADERS_ARCH)/boot/dts && for f in $$(find -name *.dtb); do \
+       cd $(DIR_APP)/arch/$(KERNEL_ARCH)/boot/dts && for f in $$(find -name "*.dtb"); do \
                                cp -v --parents $$f /boot/dtb-$(VER)-$(VERSUFIX)/ ; \
                                chmod 644 /boot/dtb-$(VER)-$(VERSUFIX)/$$f ; \
                        done