12 Oct, 2012

1 commit

  • Pull kbuild changes from Michal Marek:
    "The main part of kbuild for v3.7 contains:
    - Fix for scripts/Makefile.modpost to not choke on a '.ko' substring
    in the build directory path
    - Two warning fixes (modpost and main Makefile)
    - __compiletime_error works also with gcc 4.3
    - make tar{gz,bz2,xz}-pkg uses default compression settings instead
    of saving as many bytes as possible (this should actually be in the
    misc branch, I don't know why I applied it here)."

    * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    compiler-gcc4.h: correct verion check for __compiletime_error
    modpost: Permit .GCC.command.line sections
    Kbuild: use normal compression settings for tar*-pkg
    scripts/Makefile.modpost: error in finding modules from .mod files.
    kbuild: Remove useless warning while appending KCFLAGS

    Linus Torvalds
     

27 Sep, 2012

2 commits

  • For large kernel configurations (like a distribution kernel)
    targz-pkg takes a quite long time to just do the compression.
    I clocked it at 15+mins for a SUSE kernel like config on a fast
    system. And tarxz and bzip2 are even slower.

    The main reason is that the script that is doing the taring sets
    the highest compression level (-9). When I change it to just
    use the defaults the gzip time for the same kernel goes down
    to ~3 mins. I haven't tested xz and bzip, but I expect those
    to be much faster too.

    I'm not willing to wait that long for a small compression
    gain. So just change the script to use the defaults.

    Signed-off-by: Andi Kleen
    Reviewed-by: Fengguang Wu
    Signed-off-by: Michal Marek

    Andi Kleen
     
  • There were reports of users destroying their Fedora installs by a kernel
    tarball that replaces the /lib -> /usr/lib symlink. Let's remove the
    toplevel directories from the tarball to prevent this from happening.

    Reported-by: Andi Kleen
    Suggested-by: Ben Hutchings
    Cc:
    Signed-off-by: Michal Marek

    Michal Marek
     

31 Mar, 2011

1 commit


09 Mar, 2011

1 commit


12 Dec, 2009

1 commit

  • Use the --owner= and --group= options to make sure the entries in
    the built tar file are owned by root. Without this change, a
    careless sysadmin using the tar-pkg target can easily end up
    installing a kernel that is writable by the unprivileged user
    account used to build the kernel.

    Test that these options are understood before using them so that
    non-GNU versions of tar can still be used if the operator is
    appropriately cautious.

    Signed-off-by: Jonathan Nieder
    Signed-off-by: Michal Marek

    Michal Marek
     

02 Apr, 2009

1 commit


29 Jan, 2008

1 commit


22 May, 2007

1 commit


02 Jan, 2006

1 commit

  • Fix out-of-tree builds for the tar-pkg targets

    When I wrote the buildtar script, I didn't even think about
    out-of-tree builds because I didn't use these back then. This patch
    throughoutly uses ${objtree} instead of `pwd`.

    Also, the kernel version is no longer manually built. Instead, it will
    properly use $KERNELRELEASE . Installing modules is only done if
    CONFIG_MODULES is set.

    Signed-off-by: Jan-Benedict Glaw
    Signed-off-by: Sam Ravnborg

    Jan-Benedict Glaw
     

13 Jul, 2005

1 commit