lkml.org 
[lkml]   [2004]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Stop the Linux kernel madness
    Lars Marowsky-Bree wrote:
    > On 2004-06-19T19:35:56,
    > Jari Ruusu <jariruusu@users.sourceforge.net> 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/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:4.583 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site