Yes I modified 2 files.
- linux-x86/flex/flex-2.5.39 binary to solve the issue mentioned below.
[Guide] Arch-Linux Building Khadas Source Android 9 - common/scripts/dtc/dtc-lexer.lex.c_shipped (line 634) for the solution for ‘multiple definition of yylloc’ error.
-YYLTYPE yylloc;
+extern YYLTYPE yylloc;
It failed anyway, even without the target otapackage.
Here is the log link.