读书人

uboot中config.mk的pedantic有关问题

发布时间: 2012-05-13 16:39:43 作者: rapoo

uboot中config.mk的pedantic问题
在uboot的config.mk有如下一段

# We build some files with extra pedantic flags to try to minimize things
# that won't build on some weird host compiler -- though there are lots of
# exceptions for files that aren't complaint. # 这句应该如何翻译呢?

HOSTCFLAGS_NOPED = $(filter-out -pedantic,$(HOSTCFLAGS)) # 这句什么意思呢?pedantic起什么作用呢?
HOSTCFLAGS+= -pedantic

[解决办法]

探讨
在uboot的config.mk有如下一段

# We build some files with extra pedantic flags to try to minimize things
# that won't build on some weird host compiler -- though there are lots of
# exceptions for files t……

读书人网 >驱动开发

热点推荐