Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265493AbUFTPlz (ORCPT ); Sun, 20 Jun 2004 11:41:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265574AbUFTPlz (ORCPT ); Sun, 20 Jun 2004 11:41:55 -0400 Received: from ultra12.almamedia.fi ([193.209.83.38]:34253 "EHLO ultra12.almamedia.fi") by vger.kernel.org with ESMTP id S265493AbUFTPlw (ORCPT ); Sun, 20 Jun 2004 11:41:52 -0400 Message-ID: <40D5B09A.E1B582F2@users.sourceforge.net> Date: Sun, 20 Jun 2004 18:43:22 +0300 From: Jari Ruusu X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.22aa1r7 i686) X-Accept-Language: en MIME-Version: 1.0 To: Lars Marowsky-Bree Cc: linux-kernel@vger.kernel.org Subject: Re: Stop the Linux kernel madness References: <40D232AD.4020708@opensound.com> <20040618124716.183669f8@lembas.zaitcev.lan> <40D46B6C.9618B196@users.sourceforge.net> <20040619205253.GO28927@marowsky-bree.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1623 Lines: 55 Lars Marowsky-Bree wrote: > On 2004-06-19T19:35:56, > Jari Ruusu said: > > Last time I checked, SUSE kernels include " characters in EXTRAVERSION > > and KERNELRELEASE Makefile strings. Those " characters need to be > > filtered out before EXTRAVERSION and KERNELRELEASE strings can be > > used. > > > > Just another SUSE sillyness. > > What kind of crap 've you been smokin'? Sue your dealer. First 6 lines of Kernel Makefile (SuSE 8 ES on AMD64 Opteron): VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 21 EXTRAVERSION = -$(CONFIG_RELEASE)-$(CONFIG_CFGNAME) KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) Last 7 lines of .config (SuSE 8 ES on AMD64 Opteron): # # Build options # # CONFIG_SUSE_KERNEL is not set CONFIG_UNITEDLINUX_KERNEL=y CONFIG_CFGNAME="smp" CONFIG_RELEASE=207 Those " characters around "smp" will not go away automatically. To see the difference try these lines in Makefile: echo $(KERNELRELEASE) echo '$(KERNELRELEASE)' Those " characters make quite difference in Makefile code like this: ifneq ($(KERNELRELEASE),$(shell uname -r)) @echo You compiled this for wrong kernel endif You seem to use SUSE email address, so maybe _you_ should be answering this question: What kind of crap 've you been smokin'? -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/