Hi Guys. I’m following the steps described here: https://www.96boards.org/documentation/consumer/dragonboard/dragonboard410c/guides/aosp.md.html.
After executing make -j$(nproc), I’m getting the folowing:
> $ make -j$(nproc)
> ============================================
> PLATFORM_VERSION_CODENAME=Q
> PLATFORM_VERSION=Q
> TARGET_PRODUCT=db410c32_only
> TARGET_BUILD_VARIANT=userdebug
> TARGET_BUILD_TYPE=release
> TARGET_ARCH=arm
> TARGET_ARCH_VARIANT=armv8-a
> TARGET_CPU_VARIANT=cortex-a53
> HOST_ARCH=x86_64
> HOST_2ND_ARCH=x86
> HOST_OS=linux
> HOST_OS_EXTRA=Linux-4.12.14-lp150.12.16-default-x86_64-openSUSE-Leap-15.0
> HOST_CROSS_OS=windows
> HOST_CROSS_ARCH=x86
> HOST_CROSS_2ND_ARCH=x86_64
> HOST_BUILD_TYPE=release
> BUILD_ID=PI
> OUT_DIR=out
> ============================================
> [ 53% 465/868] including system/sepolicy/Android.mk ...
> system/sepolicy/Android.mk:79: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
> [ 99% 867/868] finishing build rules ...
> FAILED:
> [868/868] writing build ruless ...
> external/mesa3d/src/compiler/Android.glsl.gen.mk:94: error: writing to readonly directory: "external/mesa3d/src/compiler/glsl/ir.h"
> 14:22:36 ckati failed with: exit status 1
>
> #### failed to build some targets (32 seconds) ####
Is anyone experiencing this? Or know how to solve it?