Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 879c77c0 authored by Angelo G. Del Regno's avatar Angelo G. Del Regno Committed by Luca Weiss
Browse files

Kbuild: Enforce build variant user when building in-tree

The kernel doesn't export this: enforce to user to remove
unnecessary debugging.

Change-Id: I9ea9eb7a735e92db6b2e14a10eb201fcd99221d1
parent 083d95a2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14,6 +14,10 @@ ifeq ($(KERNEL_BUILD), y)
	WLAN_COMMON_INC := $(WLAN_ROOT)/$(WLAN_COMMON_ROOT)
	WLAN_FW_API := $(WLAN_ROOT)/../fw-api/
	WLAN_PROFILE := default

	# Disable debugging by forcing BUILD_VARIANT user if
	# we are building this outside of Android
	TARGET_BUILD_VARIANT := user
endif

WLAN_COMMON_ROOT ?= ../qca-wifi-host-cmn