What’s the system you want to build? Android 7.1 or Android9.0?
You only need to modify the file device/khadas/kvim2.mk when the system is Android 7.1
--- a/kvim2/kvim2.mk
+++ b/kvim2/kvim2.mk
@@ -306,7 +306,7 @@ endif
#########################################################################
BUILD_WITH_ROOT_CONFIG :=false
BUILD_WITH_GAPPS_CONFIG :=false
-BUILD_WITH_DVB_APP := false
+BUILD_WITH_DVB_APP := true
ifeq ($(BUILD_WITH_DVB_APP),true)
PRODUCT_PACKAGES += \