mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 02:17:58 +00:00 
			
		
		
		
	kernel-headers: make sure that the QSDK v5.4 kernel has access to the wireshark headers
Fixes: WIFI-7571 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -1,22 +1,22 @@ | |||||||
| From 31fce48f28737edf367f59b1b1a2a9474795c826 Mon Sep 17 00:00:00 2001 | From 414f0c79a0fac86020f220b6feba518926420491 Mon Sep 17 00:00:00 2001 | ||||||
| From: John Crispin <john@phrozen.org> | From: John Crispin <john@phrozen.org> | ||||||
| Date: Sat, 7 May 2022 19:50:33 +0200 | Date: Sat, 7 May 2022 19:50:33 +0200 | ||||||
| Subject: [PATCH] kernel-headers: add v3.18->v5.10 support | Subject: [PATCH 4/4] kernel-headers: add v3.18->v5.10 support | ||||||
|  |  | ||||||
| Signed-off-by: John Crispin <john@phrozen.org> | Signed-off-by: John Crispin <john@phrozen.org> | ||||||
| --- | --- | ||||||
|  toolchain/kernel-headers/Makefile | 10 ++++++++++ |  toolchain/kernel-headers/Makefile | 12 ++++++++++++ | ||||||
|  1 file changed, 10 insertions(+) |  1 file changed, 12 insertions(+) | ||||||
|  |  | ||||||
| diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile | diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile | ||||||
| index eea0ffbde0..a70cf2c58c 100644 | index c33f26d46d..a97f230d57 100644 | ||||||
| --- a/toolchain/kernel-headers/Makefile | --- a/toolchain/kernel-headers/Makefile | ||||||
| +++ b/toolchain/kernel-headers/Makefile | +++ b/toolchain/kernel-headers/Makefile | ||||||
| @@ -14,6 +14,16 @@ override HOST_QUILT:= | @@ -14,6 +14,18 @@ override HOST_QUILT:= | ||||||
|   |   | ||||||
|  include $(INCLUDE_DIR)/kernel.mk |  include $(INCLUDE_DIR)/kernel.mk | ||||||
|   |   | ||||||
| +ifneq ($(filter 3.18,$(KERNEL_PATCHVER)),) | +ifneq ($(KERNEL_NAME_SUFFIX),) | ||||||
| +  KERNEL_PATCHVER := 5.10 | +  KERNEL_PATCHVER := 5.10 | ||||||
| +  KERNEL_NAME_SUFFIX:= | +  KERNEL_NAME_SUFFIX:= | ||||||
| +  GENERIC_BACKPORT_DIR := $(GENERIC_PLATFORM_DIR)/backport$(if $(wildcard $(GENERIC_PLATFORM_DIR)/backport-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) | +  GENERIC_BACKPORT_DIR := $(GENERIC_PLATFORM_DIR)/backport$(if $(wildcard $(GENERIC_PLATFORM_DIR)/backport-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) | ||||||
| @@ -24,6 +24,8 @@ index eea0ffbde0..a70cf2c58c 100644 | |||||||
| +  GENERIC_HACK_DIR := $(GENERIC_PLATFORM_DIR)/hack$(if $(wildcard $(GENERIC_PLATFORM_DIR)/hack-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) | +  GENERIC_HACK_DIR := $(GENERIC_PLATFORM_DIR)/hack$(if $(wildcard $(GENERIC_PLATFORM_DIR)/hack-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) | ||||||
| +  GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") | +  GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") | ||||||
| +  $(warning GENERIC_BACKPORT_DIR = $(GENERIC_BACKPORT_DIR)) | +  $(warning GENERIC_BACKPORT_DIR = $(GENERIC_BACKPORT_DIR)) | ||||||
|  | +  include $(INCLUDE_DIR)/kernel-version.mk | ||||||
|  | +  include $(INCLUDE_DIR)/kernel.mk | ||||||
| +endif | +endif | ||||||
| + | + | ||||||
|  PKG_NAME:=linux |  PKG_NAME:=linux | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin