Hello, I would like to get more competent comments from concerned kernel packages on the issue quoted below. There is already a hack for sparc64:
ifeq ($(ARCH),) SPARCH=$(shell grep 'CONFIG_SPARC..=y' "$(KSRC)/.config" 2>/dev/null| cut -d= -f1) #maybe a different ARCH on sparc ifeq (CONFIG_SPARC32,$(SPARCH)) ARCH :=sparc export ARCH endif ifeq (CONFIG_SPARC64,$(SPARCH)) ARCH :=sparc64 export ARCH endif endif * Björn Torkelsson [Wed, Apr 05 2006, 10:29:41AM]: > Shouldn't the following code snippet be enough to make module-assistant > work on PPC64 and hopefully still work on all machines with a 64-bit > kernel. Maybe it should also check if the arch is powerpc just to be on > the safe side? > --- module-assistant-0.10.2/modass/include/generic.make.orig 2006-04-05 > 10:22:36.000000000 +0200 > +++ module-assistant-0.10.2/modass/include/generic.make 2006-04-05 > 10:23:08.000000000 +0200 > @@ -48,6 +48,11 @@ > endif > endif > > +# Check if we are running a 64bit kernel > +ifneq "$(wildcard $(KSRC)/include/linux/config/64bit.h)" "" > + CFLAGS += -m64 > +endif > + > # Special case gcc 2.7.2 > ifeq ($(CC),gcc-2.7) > CC = gcc272 > > It is completely untested though as I don't have access to any PPC64 machine. > > /torkel > > -- <krid> Hi, gibts einen Kazaa client für GNU? <panthera> krid: falsche frage <krid> panthera: Gibt es einen Kazaa client für Debian GNU/Linux? :-) <panthera> krid: falsche frage ;) <krid> panthera: Hm. Welche Frage ist die richtige? <panthera> krid: gibt es einen freien ftp-client fuer linux? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]