Hello, Would anyone be kind enough to help point me in the right direction for debugging the auto-generated '/include/config.h' file? I've got a missing <platform>.h file name in line 8 of /include/config.h and a suspicious looking CONFIG_BOARDDIR
I'm attempting to add support for a custom board to u-boot 2017.03 and I find myself in the "if(clueless)" conditional inside the U-Boot Porting Guide of the README :-/ So far, I've worked through README.kconfig (specifically "Tips to add/remove boards" - steps 1-5). My specific symptom is with the auto-generated file 'include/config.h'. After running 'make <boardName>_defconfig' I receive: # # configuration written to .config # 'make' results in the following output: <snip> In file included from ./include/common.h:21:0: include/config.h:8:10: fatal error: configs/.h: No such file or directory #include <configs/.h> ^~~~~~~~~~~~ compilation terminated. </snip > #include <configs/.h> isn't pointing at a valid header file (which exists as '/configs/<boardName>.h'). Lines 5 and 8 of /include/config.h look fishy to me: cat -n include/config.h 1 /* Automatically generated - do not edit */ 2 #define CONFIG_IMX_CONFIG board/digi/ccimx6ul/imximage.cfg 3 #define CONFIG_MX6UL 1 4 #define CONFIG_DDR_MB 256 5 #define CONFIG_BOARDDIR board/ 6 #include <config_defaults.h> 7 #include <config_uncmd_spl.h> 8 #include <configs/.h> 9 #include <asm/config.h> 10 #include <linux/kconfig.h> 11 #include <config_fallbacks.h> I had assumed the custom board Kconfig file in the /board folder containing config SYS_BORAD config SYS_CONFIG_NAME would be used to setup #defines like CONFIG_BOARDDIR CONFIG_SYS_BOARD and CONFIG_SYS_CONFIG_NAME Obviously, I've missed something - does anyone have any hints on where to look next? Any docs I still need to read? So far, I've been through README and /docs/REAME.kconfig Thanks! Brian Amos _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot