Home
last modified time | relevance | path

Searched refs:CROSS_COMPILE (Results 1 – 25 of 83) sorted by relevance

1234

/linux/tools/scripts/
H A DMakefile.include68 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
69 $(call allow-override,AR,$(CROSS_COMPILE)ar)
70 $(call allow-override,LD,$(CROSS_COMPILE)ld)
71 $(call allow-override,CXX,$(CROSS_COMPILE)g++)
72 $(call allow-override,STRIP,$(CROSS_COMPILE)strip)
97 else ifneq ($(CROSS_COMPILE),)
101 CLANG_CROSS_FLAGS := --target=$(notdir $(CROSS_COMPILE:%-=%))
102 GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)gcc 2>/dev/null))
104 CLANG_CROSS_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE))
105 CLANG_CROSS_FLAGS += --sysroot=$(shell $(CROSS_COMPILE)gcc -print-sysroot)
/linux/scripts/
H A Ddecodecode79 ${CROSS_COMPILE}as $AFLAGS -o $t.o $t.s > /dev/null 2>&1
86 ${CROSS_COMPILE}strip $t.o
94 ${CROSS_COMPILE}strip $t.o
99 ${CROSS_COMPILE}strip $t.o
103 ${CROSS_COMPILE}strip $t.o
113 ${CROSS_COMPILE}objdump $OBJDUMPFLAGS -S $t.o | \
H A DMakefile.clang25 GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit))
26 CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE))
H A Dobjdiff78 STRIP="${CROSS_COMPILE}strip"
79 OBJDUMP="${CROSS_COMPILE}objdump"
/linux/tools/testing/selftests/nolibc/
H A DMakefile183 @echo " nolibc-test build the executable (uses \$$CC and \$$CROSS_COMPILE)"
256 …$(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) mrproper $(DEFCONFI…
259 …$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) olddefconfig < /dev/nul…
263 …$(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) < /de…
266 …$(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) CONFI…
/linux/tools/testing/selftests/rcutorture/bin/
H A Dmkinitrd.sh74 | ${CROSS_COMPILE}gcc -E -nostdlib -xc - \
77 ${CROSS_COMPILE}gcc -fno-asynchronous-unwind-tables -fno-ident \
82 ${CROSS_COMPILE}gcc -s -static -Os -o init init.c
/linux/tools/verification/rv/
H A DMakefile.rv10 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
11 $(call allow-override,AR,$(CROSS_COMPILE)ar)
12 $(call allow-override,STRIP,$(CROSS_COMPILE)strip)
/linux/tools/tracing/rtla/
H A DMakefile.rtla9 # Allow setting CC and AR, or setting CROSS_COMPILE as a prefix.
10 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
11 $(call allow-override,AR,$(CROSS_COMPILE)ar)
12 $(call allow-override,STRIP,$(CROSS_COMPILE)strip)
/linux/tools/lib/symbol/
H A DMakefile12 CC ?= $(CROSS_COMPILE)gcc
13 AR ?= $(CROSS_COMPILE)ar
14 LD ?= $(CROSS_COMPILE)ld
/linux/tools/lib/subcmd/
H A DMakefile12 CC ?= $(CROSS_COMPILE)gcc
13 LD ?= $(CROSS_COMPILE)ld
14 AR ?= $(CROSS_COMPILE)ar
/linux/Documentation/arch/arm/sa1100/
H A Dcerf.rst30 make ARCH=arm CROSS_COMPILE=arm-linux- cerfcube_defconfig
31 make ARCH=arm CROSS_COMPILE=arm-linux- zImage
32 make ARCH=arm CROSS_COMPILE=arm-linux- modules
/linux/tools/sched_ext/
H A DMakefile27 ifeq ($(CROSS_COMPILE),)
29 $(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
34 CLANG_FLAGS += --target=$(notdir $(CROSS_COMPILE:%-=%))
39 CC := $(CROSS_COMPILE)gcc
63 ifneq ($(CROSS_COMPILE),)
146 ARCH= CROSS_COMPILE= CC=$(HOSTCC) LD=$(HOSTLD) \
/linux/tools/thermal/tmon/
H A DMakefile12 CC?= $(CROSS_COMPILE)gcc
13 PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
/linux/tools/lib/api/
H A DMakefile12 CC ?= $(CROSS_COMPILE)gcc
13 AR ?= $(CROSS_COMPILE)ar
14 LD ?= $(CROSS_COMPILE)ld
/linux/tools/testing/selftests/sched_ext/
H A DMakefile82 ifneq ($(CROSS_COMPILE),)
83 CLANG_TARGET_ARCH = --target=$(notdir $(CROSS_COMPILE:%-=%))
111 ARCH=$(ARCH) CC="$(CC)" CROSS_COMPILE=$(CROSS_COMPILE) \
118 ARCH= CROSS_COMPILE= CC=$(HOSTCC) LD=$(HOSTLD) \
/linux/tools/testing/selftests/
H A Dlib.mk31 ifeq ($(CROSS_COMPILE),)
33 $(error Specify CROSS_COMPILE or add '--target=' option to lib.mk)
38 CLANG_FLAGS += --target=$(notdir $(CROSS_COMPILE:%-=%))
51 CC := $(CROSS_COMPILE)gcc
/linux/scripts/package/debian/
H A Drules25 CROSS_COMPILE ?= $(filter-out $(DEB_BUILD_GNU_TYPE)-, $(DEB_HOST_GNU_TYPE)-) macro
26 …EASE=$(KERNELRELEASE) KBUILD_BUILD_VERSION=$(revision) $(addprefix CROSS_COMPILE=,$(CROSS_COMPILE))
/linux/tools/build/
H A DMakefile15 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
16 $(call allow-override,LD,$(CROSS_COMPILE)ld)
/linux/tools/testing/selftests/net/
H A Dbpf.mk32 ifneq ($(CROSS_COMPILE),)
33 CLANG_TARGET_ARCH = --target=$(notdir $(CROSS_COMPILE:%-=%))
/linux/arch/xtensa/
H A DMakefile21 ifndef CROSS_COMPILE
22 CROSS_COMPILE = xtensa_$(VARIANT)- macro
/linux/arch/m68k/
H A DMakefile18 ifeq ($(CROSS_COMPILE),)
19 CROSS_COMPILE := $(call cc-cross-prefix, \ macro
/linux/Documentation/arch/powerpc/
H A Dmpc52xx.rst11 # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
23 # <edit Makefile to set ARCH=ppc & CROSS_COMPILE=... ( also EXTRAVERSION
/linux/tools/testing/selftests/bpf/
H A Dvmtest.sh78 Using PLATFORM= and CROSS_COMPILE= options will enable cross platform testing:
80 PLATFORM=<platform> CROSS_COMPILE=<toolchain> $0 -- ./test_progs -t test_lsm
415 if [[ "${PLATFORM}" != "$(uname -m)" ]] && [[ -z "${CROSS_COMPILE}" ]]; then
427 local make_command="make ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILE} \
/linux/tools/testing/selftests/hid/
H A DMakefile23 CXX ?= $(CROSS_COMPILE)g++
74 ifneq ($(CROSS_COMPILE),)
127 ARCH= CROSS_COMPILE= CC=$(HOSTCC) LD=$(HOSTLD) \
144 EXTRA_CFLAGS='-g -O0' ARCH= CROSS_COMPILE= \
/linux/Documentation/translations/zh_TW/arch/openrisc/
H A Dopenrisc_port.rst49 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" defconfig
50 make ARCH=openrisc CROSS_COMPILE="or1k-linux-"

1234