* [PATCH] arch: ia64: don't check the toolchain if nothing is being
@ 2011-04-26 0:20 ` Peter Foley
0 siblings, 0 replies; 2+ messages in thread
From: Peter Foley @ 2011-04-26 0:20 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-ia64, tony.luck, fenghua.yu
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 <pefoley2@verizon.net>
---
arch/ia64/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index be7bfa1..b6279a0 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -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 \
--
1.7.5.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] arch: ia64: don't check the toolchain if nothing is being compiled
@ 2011-04-26 0:20 ` Peter Foley
0 siblings, 0 replies; 2+ messages in thread
From: Peter Foley @ 2011-04-26 0:20 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-ia64, tony.luck, fenghua.yu
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 <pefoley2@verizon.net>
---
arch/ia64/Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/Makefile b/arch/ia64/Makefile
index be7bfa1..b6279a0 100644
--- a/arch/ia64/Makefile
+++ b/arch/ia64/Makefile
@@ -30,8 +30,10 @@ cflags-y := -pipe $(EXTRA) -ffixed-r13 -mfixed-range=f12-f15,f32-f127 \
-falign-functions=32 -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 \
--
1.7.5.rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-26 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26 0:20 [PATCH] arch: ia64: don't check the toolchain if nothing is being Peter Foley
2011-04-26 0:20 ` [PATCH] arch: ia64: don't check the toolchain if nothing is being compiled Peter Foley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.