arch: ia64: don't check the toolchain if nothing is being compiled
PATCH 1/1 arch: ia64: don't check the toolchain if nothing is being compiled
This patch disables the ia64 toolchain checks if nothing is being compiled so targets like headers_install_all don't spew errors when they try to compile ia64 code with a toolchain targeting a different architecture.
Signed-off-by Peter Foley <[email protected]>
--- arch/ia64/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
arch/ia64/Makefile +1 -0
@@ -30,8 +30,10 @@ cflags-y := -pipe $(EXTRA) -ffixed-r13 -mfixed-rangeñ2-f15,f32-f127 \ -falign-functions2 -frename-registers -fno-optimize-sibling-calls KBUILD_CFLAGS_KERNEL := -mconstant-gp +ifeq ($(dot-config),1) GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)") KBUILD_CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)") +endif ifeq ($(GAS_STATUS),buggy) $(error Sorry, you need a newer version of the assember, one that is built from \
Signature · 1 line
1.7.5.rc1