[ imx8qm ] alldefconfig, sub-make error occurs when new device driver feature added

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[ imx8qm ] alldefconfig, sub-make error occurs when new device driver feature added

Jump to solution
1,914 Views
ts_ki
Contributor II

hello,

I added touchscreen device driver feature with imx8qm android-11.0.0_1.1.0-AUTO 

mek_8q_car2-userdebug

(added and edit synaptics_dsx Kconfig, Makefile, devicedriver code)

but, ERROR occured   like below.

I tried "make clean" and checked syntex error, but same result.  

am i missed something when device driver porting? 

thank you!

---------------   error msg  ------------------------------

ki@rnd-400T8A-400S8A-400T9A-400S9A:~/android_build$ ./imx-make.sh bootimage -j4


make: Entering directory '/home/ki/android_build'
mkdir -p /home/ki/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ
Merging KERNEL config srcs: /home/ki/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx_v8_android_car2_defconfig /home/ki/android_build/device/nxp/imx8q/mek_8q/automotive_addition_defconfig
Using /home/ki/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/configs/imx_v8_android_car2_defconfig as base
Merging /home/ki/android_build/device/nxp/imx8q/mek_8q/automotive_addition_defconfig
make[1]: Entering directory '/home/ki/android_build/vendor/nxp-opensource/kernel_imx'
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[2]: Entering directory '/home/ki/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ'
GEN Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --alldefconfig Kconfig
'rivers/input/touchscreen/synaptics_dsx/Kconfig:4:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:5:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:6:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:7:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:10:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:12: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:11:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:11:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:11:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:11: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:12:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:13:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:14:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:15:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:16:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:17:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:18:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:19:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:20:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:21:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:22:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:23:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:24:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:25:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:26:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:27:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:28:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:29:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:30:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:31:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:32:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:34:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:36: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:35:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:35:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:35:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:35: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:36:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:37:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:37:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:37:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:37: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:38:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:38:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:38: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:39:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:40:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:41:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:42:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:43:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:45:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:47: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:46:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:46:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:46:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:46: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:47:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:48:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:48:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:48:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:48: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:49:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:49:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:49: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:50:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:51:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:52:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:53:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:54:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:56:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:58: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:57:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:57:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:57:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:57: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:58:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:59:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:59:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:59:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:59: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:60:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:60:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:60: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:61:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:62:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:63:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:64:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:65:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:67:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:69: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:68:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:68:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:68:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:68: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:69:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:70:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:70:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:70:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:70: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:71:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:71:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:71: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:72:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:73:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:74:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:75:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:76:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:78:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:80: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:79:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:79:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:79:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:79: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:80:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:81:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:81:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:81:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:81: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:82:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:82:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:82: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:83:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:84:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:85:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:86:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:87:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:89:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:91: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:90:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:90:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:90:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:90: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:91:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:92:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:92:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:92:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:92: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:93:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:93:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:93: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:94:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:95:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:96:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:97:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:98:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:100:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:102: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:101:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:101:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:101:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:101: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:102:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:103:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:103:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:103:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:103: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:104:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:104:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:104: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:105:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:106:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:107:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:108:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:109:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:111:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:113: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:112:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:112:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:112:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:112: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:113:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:114:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:114:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:114:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:114: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:115:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:115:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:115: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:116:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:117:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:118:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:119:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:120:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:122:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:124: syntax error
drivers/input/touchscreen/synaptics_dsx/Kconfig:123:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:123:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:123:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:123: unknown statement "If"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:124:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:125:warning: ignoring unsupported character ','
drivers/input/touchscreen/synaptics_dsx/Kconfig:125:warning: ignoring unsupported character ':'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:125:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:125: unknown statement "To"
drivers/input/touchscreen/synaptics_dsx/Kconfig:126:warning: ignoring unsupported character '.'
'rivers/input/touchscreen/synaptics_dsx/Kconfig:126:warning: ignoring unsupported character '
drivers/input/touchscreen/synaptics_dsx/Kconfig:126: unknown statement "module"
'rivers/input/touchscreen/synaptics_dsx/Kconfig:127:warning: ignoring unsupported character '
'rivers/input/touchscreen/synaptics_dsx/Kconfig:128:warning: ignoring unsupported character '

/home/ki/android_build/vendor/nxp-opensource/kernel_imx/scripts/kconfig/Makefile:73: recipe for target 'alldefconfig' failed
make[3]: *** [alldefconfig] Error 1
/home/ki/android_build/vendor/nxp-opensource/kernel_imx/Makefile:571: recipe for target 'alldefconfig' failed
make[2]: *** [alldefconfig] Error 2
make[2]: Leaving directory '/home/ki/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ'
Makefile:179: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/ki/android_build/vendor/nxp-opensource/kernel_imx'
/home/ki/android_build/device/nxp/common/build/kernel.mk:158: recipe for target '/home/ki/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ/.config' failed
make: *** [/home/ki/android_build/out/target/product/mek_8q/obj/KERNEL_OBJ/.config] Error 2
make: Leaving directory '/home/ki/android_build'


ki@rnd-400T8A-400S8A-400T9A-400S9A:~/android_build$

 

0 Kudos
Reply
1 Solution
1,898 Views
ts_ki
Contributor II

solved problem, my mistake was copy and paste the whole file. I tried hard coding and fixed. thank you

View solution in original post

0 Kudos
Reply
1 Reply
1,899 Views
ts_ki
Contributor II

solved problem, my mistake was copy and paste the whole file. I tried hard coding and fixed. thank you

0 Kudos
Reply