Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 29, 2011
  1. @michal42

    Fix handling of backlash character in LINUX_COMPILE_BY name

    Marcin Nowakowski authored michal42 committed
    When using a domain login, `whoami` returns the login in
    user\domain format. This leads to either warnings on unrecognised
    escape sequences or escaped characters being generated for the user.
    This patch ensures that any backslash is escaped to a double-backslash
    to make sure the name is preserved correctly. This patch does not
    enforce escaping on the KBUILD_BUILD_USER variable, as this is something
    the user has control of and can escape if required.
    
    Signed-off-by: Marcin Nowakowski <marcin.nowakowski.000@gmail.com>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
Commits on Apr 18, 2011
  1. @michal42

    kbuild: Allow to override LINUX_COMPILE_BY and LINUX_COMPILE_HOST macros

    michal42 authored
    Make it possible to override the user@host string displayed during boot
    and in /proc/version by the environment variables KBUILD_BUILD_USER and
    KBUILD_BUILD_HOST. Several distributions patch scripts/mkcompile_h to
    achieve this, so let's provide an official way. Also, document the
    KBUILD_BUILD_TIMESTAMP variable while at it.
    
    Signed-off-by: Michal Marek <mmarek@suse.cz>
  2. @michal42

    kbuild: Drop unused LINUX_COMPILE_TIME and LINUX_COMPILE_DOMAIN macros

    michal42 authored
    Signed-off-by: Michal Marek <mmarek@suse.cz>
Commits on Feb 2, 2010
  1. @michal42

    scripts/mkcompile_h: don't test for hardcoded paths

    michal42 authored
    Don't test for /bin/{dnsdomainname,domainname}, simply try to execute
    the command and check if it returned something.
    
    Reported-by: Glenn Sommer <glemsom@gmail.com>
    Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
    Tested-by: Glenn Sommer <glemsom@gmail.com>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
Commits on Dec 12, 2009
  1. @michal42

    kbuild: move autoconf.h to include/generated

    Sam Ravnborg authored michal42 committed
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
Commits on Oct 11, 2009
  1. @felipec

    kbuild: mkcompile_h: trivial cleanups

    felipec authored Sam Ravnborg committed
    UTS_TRUNCATTE is simpler this way, and now editors idetify this as a
    shell script.
    
    Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
    Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  2. @felipec

    kbuild: fix warning when domainname is not available

    felipec authored Sam Ravnborg committed
    Otherwise we get:
    "dnsdomainname: Unknown host"
    
    Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
    Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Commits on Dec 3, 2008
  1. @vapier

    kbuild: kill output in silent mode of mkcompile_h

    vapier authored Sam Ravnborg committed
    The mkcompile_h script does `echo` regardless of silent mode the make is
    running at, so have it respect $quiet from kbuild and only echo when not in
    silent mode.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Commits on May 2, 2007
  1. kbuild: override build timestamp & version

    Sam Ravnborg authored Sam Ravnborg committed
    Introduce KBUILD_BUILD_VERSION to make it
    possible to override kernel build version
    during build time.
    
    Introduce KBUILD_BUILD_TIMESTAMP to make it
    possible to override kernel build timestamp
    during build time.
    
    But variables are useful mainly by distros
    that want to pass info from an SCM when
    building the kernel. Timestamp could be last
    checkin date for a file etc.
    
    The idea came from Olaf Hering <olaf@aepfle.de>
    
    Cc: Olaf Hering <olaf@aepfle.de>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Commits on Feb 14, 2007
  1. [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v

    s situert authored Linus Torvalds committed
    Fix a minor bug in mkcompile_h.  As one can see, the current locale is used
    while getting the version of gcc.  This produces problems when a locale
    other than C or en_US is used.  As an example, my /proc/version contains
    Turkish characters in iso-8859-9 encoding.
    
    This patch fixes this issue by making sure that the C locale is used to get
    gcc's version.
    
    Cc: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Commits on Jul 14, 2005
  1. kbuild: "PREEMPT" in UTS_VERSION

    Sam Ravnborg authored
    From: Matt Mackall <mpm@selenic.com>
    
    Add PREEMPT to UTS_VERSION where enabled as is done for SMP to make
    preempt kernels easily identifiable.
    Added SMP PREEMPT as comment in compile.h to force it to be
    updated when they change (sam).
    
    Signed-off-by: Matt Mackall <mpm@selenic.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Commits on Apr 16, 2005
  1. Linux-2.6.12-rc2

    Linus Torvalds authored
    Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.
    
    Let it rip!
Something went wrong with that request. Please try again.