This is what I have done:
1. change the BoardConfigCommon.mk
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_VARIANT := cortex-a9
2. change the ProductConfigCommon.mk
PRODUCT_SHIPPING_API_LEVEL := 27
But when building the BSP I met an error :
out/target/product/evk_8mp/obj/KERNEL_OBJ/usr/include/asm/sigcontext.h:77:2: err
or: unknown type name '__uint128_t'
__uint128_t vregs[32];
^
1 error generated.
01:32:17 ninja failed with: exit status 1
It seems that the sigcontext.h is still copied from arm64 directory.
Any help would be appreciated.