Lines Matching refs:ARCH
12 ifeq ($(ARCH),)
14 ARCH = $(SUBARCH)
17 # XARCH extends the kernel's ARCH with a few variants of the same
19 # and the Qemu program used. It is copied as-is into ARCH except for
22 # XARCH | ARCH | config
29 # ARCH is already set. For simplicity, ARCH is sufficient for all
34 XARCH = $(or $(XARCH_$(ARCH)),$(ARCH))
40 ARCH := $(or $(ARCH_$(XARCH)),$(XARCH))
136 @echo " sysroot create the nolibc sysroot here (uses \$$ARCH)"
150 @echo " ARCH = $(ARCH)"
162 sysroot: sysroot/$(ARCH)/include
164 sysroot/$(ARCH)/include:
165 $(Q)rm -rf sysroot/$(ARCH) sysroot/sysroot
167 $(Q)$(MAKE) -C ../../../include/nolibc ARCH=$(ARCH) OUTPUT=$(CURDIR)/sysroot/ headers_standalone
168 $(Q)mv sysroot/sysroot sysroot/$(ARCH)
171 nolibc-test: nolibc-test.c sysroot/$(ARCH)/include
173 -nostdlib -static -Isysroot/$(ARCH)/include $< -lgcc
204 $(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) mrproper $(DEFCONFIG) prepare
207 $(Q)$(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE) $(IMAGE_NAME) CONFIG_INITRAMFS_SOURCE=$(CURDIR)/initramfs
235 .PHONY: sysroot/$(ARCH)/include