Skip to contentSkip to conversation

build: ccache/distcc fix for ia64

PATCH In review Ingo Molnar 3 participants 3 messages Oct 1, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: ccache/distcc fix for ia64

the (tested) patch below fixes ccache/distcc-assisted building of the ia64 tree. (CC is "ccache distcc gcc" in that case, not a simple one-word "gcc" - this confused the check-gas and toolchain-flags scripts.)

Ingo

arch/ia64/Makefile renamed from arch/ia64/Makefile.orig +2 -2
@@ -24,8 +24,8 @@ cflags-y	:= -pipe $(EXTRA) -ffixed-r13 -
 CFLAGS_KERNEL	:= -mconstant-gp
 
 GCC_VERSION     := $(call cc-version)
-GAS_STATUS	= $(shell $(srctree)/arch/ia64/scripts/check-gas $(CC) $(OBJDUMP))
-CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags $(CC) $(OBJDUMP) $(READELF))
+GAS_STATUS	= $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
+CPPFLAGS += $(shell $(srctree)/arch/ia64/scripts/toolchain-flags "$(CC)" "$(OBJDUMP)" "$(READELF)")
 
 ifeq ($(GAS_STATUS),buggy)
 $(error Sorry, you need a newer version of the assember, one that is built from	\
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Ingo Molnar

Ingo> the (tested) patch below fixes ccache/distcc-assisted building Ingo> of the ia64 tree. (CC is "ccache distcc gcc" in that case, not Ingo> a simple one-word "gcc" - this confused the check-gas and Ingo> toolchain-flags scripts.)

Looks fine to me.

Thanks,

	--david
#2 lore raw
Quoted 7 lines · David Mosberger
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Ingo Molnar

Ingo> the (tested) patch below fixes ccache/distcc-assisted building Ingo> of the ia64 tree. (CC is "ccache distcc gcc" in that case, not Ingo> a simple one-word "gcc" - this confused the check-gas and Ingo> toolchain-flags scripts.)

Quoted 5 lines

Looks fine to me.

Thanks,

        --david

Me too ... applied (though I would have found this patch faster if you had copied
the [email protected] list).

-Tony

Quoted 8 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/