ip807x: fix ath11k-fwtest on cig wf196

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-04-11 14:51:55 +02:00
parent 3aa1ff70bb
commit 082e96d546
3 changed files with 24 additions and 1 deletions

View File

@@ -39,3 +39,21 @@ define KernelPackage/usb-dwc3-qcom-internal/description
endef
$(eval $(call KernelPackage,usb-dwc3-qcom-internal))
define KernelPackage/diag-char
TITLE:=CHAR DIAG
KCONFIG:= CONFIG_DIAG_MHI=y@ge5.4 \
CONFIG_DIAG_OVER_PCIE=n@ge5.4 \
CONFIG_DIAGFWD_BRIDGE_CODE=y \
CONFIG_DIAG_CHAR=m
DEPENDS:=+kmod-lib-crc-ccitt
FILES:=$(LINUX_DIR)/drivers/char/diag/diagchar.ko
endef
define KernelPackage/diag-char/description
CHAR DIAG
endef
$(eval $(call KernelPackage,diag-char))

View File

@@ -2,7 +2,7 @@ INCLUDE_DIR += include -I src
LIB := -lpthread -shared
LDFLAGS += -Llib/ -ldiag -lpthread -pie
FLAGS = -fPIC -g -DUSE_MUSL
EXTRA_CFLAGS = $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(TARGET_CPPFLAGS) -fstack-protector-all -znow -zrelro -Werror
EXTRA_CFLAGS = $(TARGET_CFLAGS) $(TARGET_LDFLAGS) $(TARGET_CPPFLAGS) -fstack-protector-all -znow -zrelro -Werror -Wno-error=attributes
sample_cliobj := dci_client/diag_dci_sample.c
klogobj := klog/diag_klog.c
mdobj := mdlog/diag_mdlog.c

View File

@@ -9,5 +9,10 @@ feeds:
path: ../../feeds/ipq807x_v5.4
include:
- ucentral-ap
packages:
- ipq807x
- qca-diag
- ath11k-fwtest
- ftm
diffconfig: |
CONFIG_KERNEL_IPQ_MEM_PROFILE=0