• Sam Ravnborg's avatar
    [PATCH] kbuild: add deb-pkg target · 6474b7f6
    Sam Ravnborg authored
    To prepare kbuild for more kernel packaging formats move all packaging support
    to scripts/package.
    
    In top-level Makefile introduce generic support for all package formats using
    target names *-pkg.  Included the old rpm target for backward compatibility.
    
    A new variable KBUILD_IMAGE is used to specify what kernel image will be part
    of the final package, and is to be set by the arch specific makefile.
    KBUILD_IMAGE may be overridden from command line or environment.  KBUILD_IMAGE
    will see wider usage later, mainly when installing kernel images.
    
    Introducing KBUILD_IMAGE allowed arch specific details to be deleted from the
    mkspec and builddeb scripts.
    
    While in the process added the deb packet format.  Script is From: Wichert
    Akkerman <wichert@wiggy.net>
    
    To create a RPM packet use 'make rpm-pkg'.
    To create a deb packet use 'make deb-pkg'.
    Both targets are included in 'make help'
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    6474b7f6
Makefile 958 Bytes