Lines Matching defs:ARCH
155 # first, and if a usermode build is happening, the "ARCH=um" on the command
156 # line overrides the setting of ARCH below. If a native build is happening,
157 # then ARCH is assigned, getting whatever value it gets normally, and
165 # When performing cross compilation for other architectures ARCH shall be set
167 # ARCH can be set during invocation of make:
168 # make ARCH=ia64
169 # Another way is to have ARCH set in the environment.
170 # The default ARCH is the host where make is executed.
181 ARCH ?= $(SUBARCH)
185 UTS_MACHINE := $(ARCH)
357 export ARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
445 include $(srctree)/arch/$(ARCH)/Makefile
524 include $(srctree)/arch/$(ARCH)/Makefile
582 # Also any assignments in arch/$(ARCH)/Makefile take precedence over
645 # in the kernel tree, others are specified in arch/$(ARCH)/Makefile.
671 vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds
675 # May be overridden by arch/$(ARCH)/Makefile
911 $(Q)ln -fsn $(srctree)/include/asm-$(ARCH) include2/asm
934 # done in arch/$(ARCH)/kernel/Makefile
936 export CPPFLAGS_vmlinux.lds += -P -C -U$(ARCH)
942 @echo ' SYMLINK $@ -> include/asm-$(ARCH)'
944 @ln -fsn asm-$(ARCH) $@
990 $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch ;\
995 @if [ ! -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
996 echo '*** Error: Headers not exportable for this architecture ($(ARCH))'; \
1004 $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch HDRCHECK=1 ;\
1160 boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig)
1186 @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
1194 @if [ -r $(srctree)/include/asm-$(ARCH)/Kbuild ]; then \
1204 @echo 'Architecture specific targets ($(ARCH)):'
1206 echo ' No architecture specific help defined for $(ARCH)')
1339 ifeq ($(ARCH),um)
1340 ALLINCLUDE_ARCHS := $(ARCH) $(SUBARCH)
1342 ALLINCLUDE_ARCHS := $(ARCH)
1349 ALLSOURCE_ARCHS := $(ARCH)
1352 ( for ARCH in $(ALLSOURCE_ARCHS) ; do \
1353 find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \
1361 for ARCH in $(ALLINCLUDE_ARCHS) ; do \
1362 find $(__srctree)include/asm-$${ARCH} $(RCS_FIND_IGNORE) \
1461 # else wants $(ARCH), including people doing cross-builds, which means
1463 ifeq ($(ARCH), um)
1466 CHECKSTACK_ARCH := $(ARCH)