Hi,
I want your support for below query please help:
I’m trying to build android pie for khadas vim3 and after executing the below command error prints are observed:
Host PC: Ubuntu 16.04
$ make -j4 otapackage
hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_MOUDLE is multiwifi
hardware/amlogic/wifi/configs/wifi.mk:47: warning: WIFI_BUILD_IN is false
hardware/amlogic/bluetooth/configs/bluetooth.mk:20: warning: BLUETOOTH_MODULE is BCMBT
hardware/amlogic/bluetooth/configs/bluetooth.mk:24: warning: BLUETOOTH_INF is not set
Traceback (most recent call last):
File "device/khadas/kvim3/auto_generator.py", line 47, in <module>
main(sys.argv)
File "device/khadas/kvim3/auto_generator.py", line 32, in main
makefile = file(makefile_path, 'w')
NameError: name 'file' is not defined
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-142-generic-x86_64-Ubuntu-16.04.7-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out
============================================
ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: external/clang/Android.bp:73:1: unrecognized module type "llvm_tblgen"
error: frameworks/compile/mclinker/tools/mcld/Android.bp:20:1: unrecognized module type "llvm_tblgen"
error: frameworks/compile/slang/Android.bp:133:1: unrecognized module type "llvm_tblgen"
ninja: build stopped: subcommand failed.
10:50:45 soong bootstrap failed with: exit status 1
#### failed to build some targets (1 seconds) ####