Makefile (0bb80ecc33a8fb5a682236443c1e740d5c917d1d) | Makefile (944834901adc94b3a44d1dd153eb739a937e52d2) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2VERSION = 6 3PATCHLEVEL = 6 4SUBLEVEL = 0 5EXTRAVERSION = -rc1 6NAME = Hurr durr I'ma ninja sloth 7 8# *DOCUMENTATION* --- 364 unchanged lines hidden (view full) --- 373include $(srctree)/scripts/subarch.include 374 375# Cross compiling and selecting different set of gcc/bin-utils 376# --------------------------------------------------------------------------- 377# 378# When performing cross compilation for other architectures ARCH shall be set 379# to the target architecture. (See arch/* for the possibilities). 380# ARCH can be set during invocation of make: | 1# SPDX-License-Identifier: GPL-2.0 2VERSION = 6 3PATCHLEVEL = 6 4SUBLEVEL = 0 5EXTRAVERSION = -rc1 6NAME = Hurr durr I'ma ninja sloth 7 8# *DOCUMENTATION* --- 364 unchanged lines hidden (view full) --- 373include $(srctree)/scripts/subarch.include 374 375# Cross compiling and selecting different set of gcc/bin-utils 376# --------------------------------------------------------------------------- 377# 378# When performing cross compilation for other architectures ARCH shall be set 379# to the target architecture. (See arch/* for the possibilities). 380# ARCH can be set during invocation of make: |
381# make ARCH=ia64 | 381# make ARCH=arm64 |
382# Another way is to have ARCH set in the environment. 383# The default ARCH is the host where make is executed. 384 385# CROSS_COMPILE specify the prefix used for all executables used 386# during compilation. Only gcc and related bin-utils executables 387# are prefixed with $(CROSS_COMPILE). 388# CROSS_COMPILE can be set on the command line | 382# Another way is to have ARCH set in the environment. 383# The default ARCH is the host where make is executed. 384 385# CROSS_COMPILE specify the prefix used for all executables used 386# during compilation. Only gcc and related bin-utils executables 387# are prefixed with $(CROSS_COMPILE). 388# CROSS_COMPILE can be set on the command line |
389# make CROSS_COMPILE=ia64-linux- | 389# make CROSS_COMPILE=aarch64-linux-gnu- |
390# Alternatively CROSS_COMPILE can be set in the environment. 391# Default value for CROSS_COMPILE is not to prefix executables 392# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile 393ARCH ?= $(SUBARCH) 394 395# Architecture as present in compile.h 396UTS_MACHINE := $(ARCH) 397SRCARCH := $(ARCH) --- 1658 unchanged lines hidden --- | 390# Alternatively CROSS_COMPILE can be set in the environment. 391# Default value for CROSS_COMPILE is not to prefix executables 392# Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile 393ARCH ?= $(SUBARCH) 394 395# Architecture as present in compile.h 396UTS_MACHINE := $(ARCH) 397SRCARCH := $(ARCH) --- 1658 unchanged lines hidden --- |