mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
Revert "feat(conf) add better check for Kconfig default"
This reverts commit f8fe5366bb051cd5090e4a06658eb0d32decc0b3.
This commit is contained in:
parent
f8fe5366bb
commit
a5793c70a9
@ -59,10 +59,6 @@ fout.write(
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*Check if there is a Kconfig environment*/
|
||||
#ifdef LV_COLOR_DEPTH
|
||||
#define LV_KCONFIG_PRESENT
|
||||
#endif
|
||||
|
||||
/*----------------------------------
|
||||
* Start parsing lv_conf_template.h
|
||||
@ -99,12 +95,8 @@ for i in fin.read().splitlines():
|
||||
|
||||
fout.write(
|
||||
f'#ifndef {line}\n'
|
||||
f'# ifdef LV_KCONFIG_PRESENT\n'
|
||||
f'# ifdef CONFIG_{line.upper()}\n'
|
||||
f'# define {line} CONFIG_{line.upper()}\n'
|
||||
f'# else\n'
|
||||
f'# define {line} 0\n'
|
||||
f'# endif\n'
|
||||
f'# ifdef CONFIG_{line.upper()}\n'
|
||||
f'# define {line} CONFIG_{line.upper()}\n'
|
||||
f'# else\n'
|
||||
f'{d}\n'
|
||||
f'# endif\n'
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user