ipq807x: fix v4.4 kernel-headers for BPF

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin 2021-10-28 10:15:07 +02:00
parent 6d922da9b8
commit cd85723609

View File

@ -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 <john@phrozen.org>
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 <john@phrozen.org>
---
@ -61,7 +61,8 @@ Signed-off-by: John Crispin <john@phrozen.org>
.../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