当前位置: 技术问答>linux和unix
向各位大侠们请教下:u-boot-2013.07 中,怎样修改Makefile?
来源: 互联网 发布时间:2017-05-23
本文导语: 我是个菜鸟,刚接触linux不久,请大侠们多多指教! 开发板为:at91sam9260ek, u-boot为: u-boot-2013.07 按照书上操作对 u-boot-2013.07 的Makefile 配置时: # load ARCH, BOARD, and CPU...
我是个菜鸟,刚接触linux不久,请大侠们多多指教!
开发板为:at91sam9260ek,
u-boot为: u-boot-2013.07
按照书上操作对 u-boot-2013.07 的Makefile 配置时:
# load ARCH, BOARD, and CPU configuration
include $(obj)include/config.mk
export ARCH=arm CPU=at91sam9260ejs BOARD=at91sam9260ek VENDOR=atmel SOC=at91
# set default to nothing for native builds
ifeq ($(HOSTARCH),$(ARCH))
CROSS_COMPILE ?=arm-linux-
endif
at91sam9260ek_config: unconfig
@$(MKCONFIG) -A $(@:_config=)arm arm926ejs at91sam9260ek atmel at91
总是出现些错误提示:
ccc@ubuntu:~/myboard/u-boot-2013.07$ make at91sam9260ek_config
Configuring for -A board...
ln: creating symbolic link `asm/arch': No such file or directory
make: *** [at91sam9260ek_config] Error 1
查看顶层README 中的example 但还是没整明白,请问大侠们, 该如何配置呢,还望多多指教,不胜感激!!!
开发板为:at91sam9260ek,
u-boot为: u-boot-2013.07
按照书上操作对 u-boot-2013.07 的Makefile 配置时:
# load ARCH, BOARD, and CPU configuration
include $(obj)include/config.mk
export ARCH=arm CPU=at91sam9260ejs BOARD=at91sam9260ek VENDOR=atmel SOC=at91
# set default to nothing for native builds
ifeq ($(HOSTARCH),$(ARCH))
CROSS_COMPILE ?=arm-linux-
endif
at91sam9260ek_config: unconfig
@$(MKCONFIG) -A $(@:_config=)arm arm926ejs at91sam9260ek atmel at91
总是出现些错误提示:
ccc@ubuntu:~/myboard/u-boot-2013.07$ make at91sam9260ek_config
Configuring for -A board...
ln: creating symbolic link `asm/arch': No such file or directory
make: *** [at91sam9260ek_config] Error 1
查看顶层README 中的example 但还是没整明白,请问大侠们, 该如何配置呢,还望多多指教,不胜感激!!!
|
好像不需要了,好久没弄过了,可以找个已经好的试试,比如 smdk2410