From cd85723609a15fd2d2688e4438aa1dc75a5cd9e5 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Thu, 28 Oct 2021 10:15:07 +0200 Subject: [PATCH] ipq807x: fix v4.4 kernel-headers for BPF Signed-off-by: John Crispin --- ...x-add-the-Qualcomm-AX-target-support.patch | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/patches/0017-ipq807x-add-the-Qualcomm-AX-target-support.patch b/patches/0017-ipq807x-add-the-Qualcomm-AX-target-support.patch index 966a6d0a8..ce84f6405 100644 --- a/patches/0017-ipq807x-add-the-Qualcomm-AX-target-support.patch +++ b/patches/0017-ipq807x-add-the-Qualcomm-AX-target-support.patch @@ -1,7 +1,7 @@ -From 956d1d775a0203dab5a85f4d8e44a127aa0b9fed Mon Sep 17 00:00:00 2001 +From 59f9b63a349de9e550aa7f386e917035a78d7d95 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 18 Jul 2020 08:53:44 +0200 -Subject: [PATCH 01/30] ipq807x: add the Qualcomm AX target support +Subject: [PATCH 01/32] ipq807x: add the Qualcomm AX target support Signed-off-by: John Crispin --- @@ -61,7 +61,8 @@ Signed-off-by: John Crispin .../ipq807x/patches/110-add-esmt-nand.patch | 37 + target/linux/ipq807x/patches/111-eap106.patch | 765 +++++++++ target/linux/ipq807x/patches/112-pstore.patch | 147 ++ - 56 files changed, 11423 insertions(+), 2 deletions(-) + toolchain/kernel-headers/Makefile | 8 + + 57 files changed, 11431 insertions(+), 2 deletions(-) create mode 100644 package/boot/uboot-envtools/files/ipq807x create mode 100644 target/linux/ipq807x/109-logspam.patch create mode 100644 target/linux/ipq807x/Makefile @@ -16076,6 +16077,25 @@ index 0000000000..dc3960306d + #ifdef CONFIG_OF_ADDRESS + /* + * The following routines scan a subtree and registers a device for +diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile +index c33f26d46d..06236b5a47 100644 +--- a/toolchain/kernel-headers/Makefile ++++ b/toolchain/kernel-headers/Makefile +@@ -12,6 +12,14 @@ BUILD_DIR := $(KERNEL_BUILD_DIR) + override QUILT:= + override HOST_QUILT:= + ++include $(INCLUDE_DIR)/target.mk ++ ++ifeq ($(KERNEL_PATCHVER),4.4) ++ KERNEL_PATCHVER := 5.10 ++ KERNEL_NAME_SUFFIX:= ++endif ++ ++include $(INCLUDE_DIR)/kernel-version.mk + include $(INCLUDE_DIR)/kernel.mk + + PKG_NAME:=linux -- 2.25.1