1. 13 Oct, 2008 1 commit
  2. 10 Oct, 2008 14 commits
  3. 09 Oct, 2008 1 commit
    • Manoj Srivastava's avatar
      Move to a streamlined, make -j friendly build system · 43efee4e
      Manoj Srivastava authored
      While I am not sure of this fixes some of the nagging problems we have
      been facing in recent versions of kernel-package, where we used double
      colon rules, which were convenient, sure, but played havoc with
      ordering of the rules, and had to have various band-aids to help out
      with the ordering. The system was rapidly growing complex, with clear
      indication that it was actually faster.
      
      The new target mechanism does away with doublecolon rules, and should
      play better with parrallel compilation.
      Signed-off-by: Manoj Srivastava's avatarManoj Srivastava <srivasta@debian.org>
      43efee4e
  4. 08 Oct, 2008 13 commits
  5. 02 May, 2008 1 commit
    • Manoj Srivastava's avatar
      add support for building lguest launcher when lguest host support is built-in or module · 93605265
      Manoj Srivastava authored
      This commit uilds the lguest launcher when CONFIG_LGUEST is set
      in the target kernel, and installs it to /lib/modules/{kernel-version}
      in the linux-image package.
      
      This is an appropriate way to do this, as lguest is tied quite strongly
      to the version of the kernel it was built with (there's no defined ABI
      or API, so it pretty much has to launch a kernel from the same source as
      well, unless you're lucky), so there's no point in building a seperate
      lguest package for the launcher.
      
      However, this won't work when cross-building an i386 package (the only
      one where vanilla kernels can have CONFIG_LGUEST defined right now)
      because the lguest Makefile assumes that ld and gcc point to i386
      versions. CONFIG_LGUEST is disabled in default configs.
      Signed-off-by: Manoj Srivastava's avatarManoj Srivastava <srivasta@debian.org>
      93605265
  6. 30 Nov, 2007 2 commits
    • Manoj Srivastava's avatar
      Do not quote values in kernel-img.conf examples · 46753e62
      Manoj Srivastava authored
      If /etc/kernel-img.conf contains a mkimage line with quotation marks,
      then kernel reconfiguring fails. This happens because MKIMAGE variable in
      mkinitrd will have outer quotes and last eval operator try to execute
      "\"genromfs tra-la-la\"" command (instead of "genromfs tra-la-la") and
      fails. Remove quotes from the example. Closes: #429451 
      
      * kernel-img.conf.5 (Caveat): Remove quotes from around mkimage. 
      
      * kernel-img.conf.es.5 (Precaución): Ditto
      
      * kernel-img.conf.fr.5: Ditto
      
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-15
      46753e62
    • Manoj Srivastava's avatar
      use DEB_HOST_ARCH_OS · 814f4534
      Manoj Srivastava authored
      kernel-package does not work on armel, as it uses DEB_HOST_GNU_SYSTEM and
      compare it to either linux-gnu or kfreebsd-gnu. DEB_HOST_GNU_SYSTEM
      equals to linux-gnueabi on armel.
      
      The correct fix is to use DEB_HOST_ARCH_OS instead which returns linux on
      armel as well as on other linux architectures. Closes: #425971
      
      * kernel/ruleset/arches/amd64.mk (KERNEL_ARCH): use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/arches/i386.mk (DEBCONFIG): use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/minimal.mk (minimal_clean): use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/misc/defaults.mk: use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/misc/modules.mk: use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/misc/version_vars.mk: use DEB_HOST_ARCH_OS
      
      * kernel/ruleset/targets/image.mk: use DEB_HOST_ARCH_OS 
      
      * kernel/ruleset/targets/target.mk (conf.vars): use DEB_HOST_ARCH_OS 
      
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-14
      814f4534
  7. 10 May, 2007 1 commit
    • Manoj Srivastava's avatar
      Perform sanity checking of the stem argument. · a09081d0
      Manoj Srivastava authored
      * make-kpkg (main): Perform sanity checking of the stem argument. The
        stem, since it is the initial part of a package name must consist only
        of lower case letters (`a-z'), digits (`0-9'), plus (`+') and minus
        (`-') signs, and periods (`.').  It must be at least two characters
        long and must start with an alphanumeric character.
      
      Closes: Bug#422640
      
      * make-kpkg.8: Document the restrictions of the stem argument.
      
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-13
      a09081d0
  8. 05 May, 2007 3 commits
    • Manoj Srivastava's avatar
      Provide support for CONFIG_LOCALVERSION_AUTO and git source trees · 7744bb4d
      Manoj Srivastava authored
      * kernel/ruleset/misc/version_vars.mk (GIT_VERSION): If
        CONFIG_LOCALVERSION_AUTO is set, see if we are running in a git
        tree. If so, append -dirty to the git version string.
        (version): Append git version string
      
      * kernel/ruleset/targets/target.mk (debian/stamp-conf): Do not move
        setlocalversion out of the way, now that we can handle the -dirty
        string.
        (real_stamp_clean): Since we do not move setlocalversion out of the
        way, there is no need to revert that on clean.
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-12
      7744bb4d
    • Manoj Srivastava's avatar
      remove requirements for a pre-created .config file · 45645d9d
      Manoj Srivastava authored
      * kernel/ruleset/minimal.mk: Now that kernel-package seems to handle
        kernels well without a .config again, remove the tests for a
        preexisting .config.
      
      * kernel/ruleset/targets/target.mk: Determine if this kernel needs a
        pre-defined .config or not.
        (.config): If it does, then use make defconfig to generate one.
      
      * make-kpkg.8: Revert changes made about needing .config files, since the
        behaviour has now been changed back.
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-11
      45645d9d
    • Manoj Srivastava's avatar
      Explain why a .config is now required. · 4f04ee36
      Manoj Srivastava authored
      At some point, make-kpkg should run make defconfig to generate a .config
      file. 
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-10
      4f04ee36
  9. 04 May, 2007 4 commits
    • Manoj Srivastava's avatar
      Document that kernel-package does not work wih older make versions · 0cbce63d
      Manoj Srivastava authored
      * Problems (VFS): Added case u
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-9
      0cbce63d
    • Manoj Srivastava's avatar
      Pass along CROSS_ARG when building modules. · ebbd0f0b
      Manoj Srivastava authored
      When doing cross-compilation of kernel and externel modules,
      --cross-compile=- option is ignored with targets modules*.  The
      compilation fails because it tries to use the "-gcc" compiler. Add a
      variable to transmit the CROSS_ARG variable to module operations.
      Closes: Bug#417948
      
      * kernel/ruleset/modules.mk: added int_ca if CROSS_ARG is not empty.
      
      * kernel/ruleset/modules.mk (modules-image modules_image): Added int_ca
      
      * kernel/ruleset/modules.mk (modules): Ditto.
      
      * kernel/ruleset/modules.mk (modules-config modules_config): 
      
      * kernel/ruleset/modules.mk (modules-clean modules_clean): Ditto
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-8
      ebbd0f0b
    • Manoj Srivastava's avatar
      Typographical errors in diagnostics fixed · 92a7f605
      Manoj Srivastava authored
      * kernel/pkg/image/postinst (really_reverse_link): Fix Typographical
        errors in diagnostics  where symlink and hardlink were swapped. 
        Closes: Bug#417814
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-7
      92a7f605
    • Manoj Srivastava's avatar
      Document that we need .config even fore the debian target · fb0989c4
      Manoj Srivastava authored
      * make-kpkg.8: Document the fact that we require a .config file even when
        running the debian target. Closes: Bug#416090
      
      git-archimport-id: srivasta@debian.org--lenny/kernel-package--devel--11.0--patch-6
      fb0989c4