Building Android 14 for VIM4 - missing soong-tee_common

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Please provide the version of the system here:

14, self built

Please describe your issue below:

Builing fails with:
error: vendor/amlogic/common/prebuilt/videofirm/Android.bp:17:1: “soong-videofirm” depends on undefined module “soong-tee_common”. Did you mean [“aidl-soong-rules” “hidl-soong-rules” “soong-tee_hdcp” “xsdc-soong-rules”]?

Post a console log of your issue below:

12:43:03 Build sandboxing disabled due to nsjail error.                                                                        
[buildAudioPolicyConfigurationXml:W] device:kvim4, audioBuildType:_, soundbar:false, version:aosp                                                                                                                                                             
vendor/amlogic/common/auto_patch/Android.mk:14: warning:  Patch Finish.                                                                                                                                                                                       
mkdir: Needs 1 argument (see "mkdir --help")                                                                                   
/bin/bash: line 1: VENDOR-PATH-PH: command not found                                                                           
/bin/bash: line 1: /usr/icu/: No such file or directory                                                                        
find: './r44p1': No such file or directory                                                                                                                                                                                                                    
device/khadas/common/products/tv/t7/t7.mk:101: warning: warning for parse error in an unevaluated line: *** commands commence before first target.
============================================                                                                                   
PLATFORM_VERSION_CODENAME=REL                                  
PLATFORM_VERSION=14                                            
PRODUCT_INCLUDE_TAGS=com.android.mainline                                                                                      
TARGET_PRODUCT=kvim4_arm64                                     
TARGET_BUILD_VARIANT=userdebug                                 
TARGET_ARCH=arm64       
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-26-amd64-x86_64-Ubuntu-22.04.5-LTS
HOST_CROSS_OS=windows
BUILD_ID=UD2A.240505.001.W1
OUT_DIR=out
============================================
12:43:05 Entire data directory removed.
12:43:05 Deleted images and staging directories.

#### build completed successfully (3 seconds) ####

12:43:06 Build sandboxing disabled due to nsjail error.
[buildAudioPolicyConfigurationXml:W] device:kvim4, audioBuildType:_, soundbar:false, version:aosp
vendor/amlogic/common/auto_patch/Android.mk:14: warning:  Patch Finish.
mkdir: Needs 1 argument (see "mkdir --help")
/bin/bash: line 1: VENDOR-PATH-PH: command not found
/bin/bash: line 1: /usr/icu/: No such file or directory
find: './r44p1': No such file or directory
device/khadas/common/products/tv/t7/t7.mk:101: warning: warning for parse error in an unevaluated line: *** commands commence before first target.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
PRODUCT_INCLUDE_TAGS=com.android.mainline
TARGET_PRODUCT=kvim4_arm64
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.1.0-26-amd64-x86_64-Ubuntu-22.04.5-LTS
HOST_CROSS_OS=windows
BUILD_ID=UD2A.240505.001.W1
OUT_DIR=out
============================================
error: vendor/amlogic/common/prebuilt/videofirm/Android.bp:17:1: "soong-videofirm" depends on undefined module "soong-tee_common". Did you mean ["aidl-soong-rules" "hidl-soong-rules" "soong-tee_hdcp" "xsdc-soong-rules"]?