/linux/tools/scripts/ |
H A D | Makefile.include | 68 $(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 D | decodecode | 79 ${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 D | Makefile.clang | 25 GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) 26 CLANG_FLAGS += --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE))
|
H A D | objdiff | 78 STRIP="${CROSS_COMPILE}strip" 79 OBJDUMP="${CROSS_COMPILE}objdump"
|
/linux/tools/testing/selftests/nolibc/ |
H A D | Makefile | 183 @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 D | mkinitrd.sh | 74 | ${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 D | Makefile.rv | 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/tracing/rtla/ |
H A D | Makefile.rtla | 9 # 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 D | Makefile | 12 CC ?= $(CROSS_COMPILE)gcc 13 AR ?= $(CROSS_COMPILE)ar 14 LD ?= $(CROSS_COMPILE)ld
|
/linux/tools/lib/subcmd/ |
H A D | Makefile | 12 CC ?= $(CROSS_COMPILE)gcc 13 LD ?= $(CROSS_COMPILE)ld 14 AR ?= $(CROSS_COMPILE)ar
|
/linux/Documentation/arch/arm/sa1100/ |
H A D | cerf.rst | 30 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 D | Makefile | 27 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 D | Makefile | 12 CC?= $(CROSS_COMPILE)gcc 13 PKG_CONFIG?= $(CROSS_COMPILE)pkg-config
|
/linux/tools/lib/api/ |
H A D | Makefile | 12 CC ?= $(CROSS_COMPILE)gcc 13 AR ?= $(CROSS_COMPILE)ar 14 LD ?= $(CROSS_COMPILE)ld
|
/linux/tools/testing/selftests/sched_ext/ |
H A D | Makefile | 82 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 D | lib.mk | 31 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 D | rules | 25 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 D | Makefile | 15 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 16 $(call allow-override,LD,$(CROSS_COMPILE)ld)
|
/linux/tools/testing/selftests/net/ |
H A D | bpf.mk | 32 ifneq ($(CROSS_COMPILE),) 33 CLANG_TARGET_ARCH = --target=$(notdir $(CROSS_COMPILE:%-=%))
|
/linux/arch/xtensa/ |
H A D | Makefile | 21 ifndef CROSS_COMPILE 22 CROSS_COMPILE = xtensa_$(VARIANT)- macro
|
/linux/arch/m68k/ |
H A D | Makefile | 18 ifeq ($(CROSS_COMPILE),) 19 CROSS_COMPILE := $(call cc-cross-prefix, \ macro
|
/linux/Documentation/arch/powerpc/ |
H A D | mpc52xx.rst | 11 # <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 D | vmtest.sh | 78 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 D | Makefile | 23 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 D | openrisc_port.rst | 49 make ARCH=openrisc CROSS_COMPILE="or1k-linux-" defconfig 50 make ARCH=openrisc CROSS_COMPILE="or1k-linux-"
|