我暂时没有没有新建单板,想些编译smdk2410是否成功
用到
ARM-linux-gcc 4.4.3
修改顶层目录:
# set default to nothing for na
tive builds
ifeq ($(HOSTARCH),$(ARCH))
CROSS_COMPILE ?=arm-linux-
endif
make smdk2410_defconfig
make出现错误:
UPD include/generated/timestamp_autogenerated.h
CC lib/asm-offsets.s
lib/asm-offsets.c:1:0: error: bad value (armv4t) for -march= switch
*
^
Kbuild:43: recipe for target 'lib/asm-offsets.s' failed
make[1]: *** [lib/asm-offsets.s] Error 1
Makefile:1274: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
各位大神怎么处理