feat(cmake) Allow building LVGL without kconfig (#2165)

This commit is contained in:
Amir Gonnen
2021-03-25 00:54:03 +02:00
committed by Gabor Kiss-Vamosi
parent b3f1d49735
commit d0fb10724b
3 changed files with 13 additions and 11 deletions

View File

@@ -27,11 +27,12 @@ fout.write(
#include <stdint.h>
/*Handle special Kconfig options*/
#include "lv_conf_kconfig.h"
#ifdef CONFIG_LV_CONF_SKIP
#define LV_CONF_SKIP
/* Handle special Kconfig options */
#ifndef LV_KCONFIG_IGNORE
# include "lv_conf_kconfig.h"
# ifdef CONFIG_LV_CONF_SKIP
# define LV_CONF_SKIP
# endif
#endif
/*If "lv_conf.h" is available from here try to use it later.*/