only enable CUSTOMER_HW_ROCKCHIP when CONFIG_RFKILL_RK=y

This commit is contained in:
amazingfate
2025-01-13 11:51:38 +08:00
committed by Jianfeng Liu
parent 36ac73f0b7
commit 2e2a6979f1

View File

@@ -433,7 +433,9 @@ ifeq ($(CONFIG_BCMDHD_DTS),y)
DHDCFLAGS += -DBCMDHD_DTS
endif
DHDCFLAGS += -DCUSTOMER_HW -DDHD_OF_SUPPORT
ifeq ($(CONFIG_RFKILL_RK),y)
DHDCFLAGS += -DCUSTOMER_HW_ROCKCHIP
endif
DHDCFLAGS += -DBCM_USE_PLATFORM_STRLCPY
# DHDCFLAGS += -DGET_CUSTOM_MAC_ENABLE
endif