初级会员
- 积分
- 61
- 金钱
- 61
- 注册时间
- 2019-7-31
- 在线时间
- 16 小时
|
在顶层Makefile中(指定交叉编译器)242 # CROSS_COMPILE specify the prefix used for all executables used
243 # during compilation. Only gcc and related bin-utils executables
244 # are prefixed with $(CROSS_COMPILE).
245 # CROSS_COMPILE can be set on the command line
246 # make CROSS_COMPILE=ia64-linux-
247 # Alternatively CROSS_COMPILE can be set in the environment.
248 # A third alternative is to store a setting in .config so that plain
249 # "make" in the configured kernel build directory always uses that.
250 # Default value for CROSS_COMPILE is not to prefix executables
251 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
252 #ARCH ?= $(SUBARCH)
253 #CROSS_COMPILE ?= $(CONFIG_CROSS_COMPILE:"%"=%)
254 ARCH ?= arm
255 CROSS_COMPILE ?= arm-linux-gnueabihf-
256
257
258 # Architecture as present in compile.h
259 UTS_MACHINE := $(ARCH)
260 SRCARCH := $(ARCH)
261
262 # Additional ARCH settings for x86
263 ifeq ($(ARCH),i386)
|
|