求助,编译u-boot时报CONFIG_BOOTDELAY 重复定义,大家帮忙看下
1 在 vexpress的头文件include/configs/vexpress_common.h中添加CONFIG_BOOTDELAY的定义:
#define CONFIG_BOOTDELAY 5
编译的时候报CONFIG_BOOTDELAY 重复定义:
In file included from include/configs/vexpress_ca9x4.h:15:0,
from include/config.h:5,
from include/common.h:18,
from lib/asm-offsets.c:15:
include/configs/vexpress_common.h:286:0: warning: "CONFIG_BOOTDELAY" redefined [enabled by default]
In file included from ././include/linux/kconfig.h:4:0,
from <command-line>:0:
include/generated/autoconf.h:47:0: note: this is the location of the previous definition
2 查看include/generated/autoconf.h 原来已经定义了CONFIG_BOOTDELAY:
#define CONFIG_BOOTDELAY 2
请问autoconf.h里定义的CONFIG_BOOTDELAY值是从哪里来的,如果要修改CONFIG_BOOTDELAY标准的改法是怎样的?
PS: autoconf.h是编译时自动生成的。