codebrowser
codebrowser copied to clipboard
mips_uboot codebrowser_generator error
I use command:
$ codebrowser_generator -b $BUILD_DIRECTORY -a -o $OUTPUT_DIRECTORY -p uboot:$SOURCE_DIRECTORY:$VERSION
error info:
[1%] Processing /home/uboot/u-boot/board/ar7240/ap121/ap121.c
warning: optimization flag '-fno-schedule-insns' is not supported [-Wignored-optimization-argument]
warning: optimization flag '-fno-schedule-insns2' is not supported [-Wignored-optimization-argument]
error: unknown target CPU 'mips32'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem,
corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx,
cannonlake, icelake-client, icelake-server, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3,
amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, x86-64
Error: The file was not recognized as source code: /home/bj404/uboot/u-boot/board/ar7240/ap121/ap121.c
......
......
Hi, Do you still have a problem running the generator. Looks like the commanf contains argument which clang does not accept.