1. 23 7月, 2013 3 次提交
  2. 24 6月, 2013 1 次提交
    • M
      kbuild: fix error when building from src rpm · c398ff00
      Mike Marciniszyn 提交于
      The following issue can be reproduced with Linus' tree on
      an x86_64 server.
      
      >+ cp /home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2.x86_64/boot/vmlinuz-3.9.2
      >cp: missing destination file operand after
      >/home/user/rpmbuild-test/BUILDROOT/kernel-3.9.2-1.x86_64/boot/vmlinuz-3.9.2'
      >Try `cp --help' for more information.
      >error: Bad exit status from /var/tmp/rpm-tmp.R4o0iI (%install)
      
      Here are the commands to reproduce:
      
      make defconfig
      make rpm-pkg
      
      Use the resulting src rpm to build as follows:
      
      mkdir ~/rpmbuild-test
      cd ~/rpmbuild-test
      rpmbuild --rebuild --define "_topdir `pwd`" -vv ~/rpmbuild/SRPMS/kernel-3.10.0_rc1+-1.src.rpm
      
      The issue is because the %install script uses $KBUILD_IMAGE and it hasn't
      been set since it is only available in the kbuild system and not in the
      %install script.
      
      This patch adds a Makefile target to emit the image_name that can be used
      and modifies the mkspec to use the dynamic name in %install.
      Signed-off-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c398ff00
  3. 16 5月, 2013 1 次提交
  4. 18 4月, 2013 4 次提交
  5. 08 4月, 2013 2 次提交
  6. 22 2月, 2013 1 次提交
    • D
      kbuild: clear KBUILD_SRC when calling 'make' in RPM spec · e0367a61
      David R. Bild 提交于
      'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
      read-only.  Specifically, when the RPM spec generated by
      scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
      source location and thus the invocation of 'make headers_install'
      fails when an internal call to 'filechk' tries to write a file into
      the source tree.
      
      The fix is to clear KBUILD_SRC for the 'make headers_install'
      invocation in the spec file, as is already done for the 'make
      modules_install' invocation.
      Signed-off-by: NDavid R. Bild <drbild@umich.edu>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      e0367a61
  7. 27 9月, 2012 2 次提交
  8. 28 6月, 2012 2 次提交
  9. 27 5月, 2012 1 次提交
  10. 25 2月, 2012 3 次提交
  11. 19 2月, 2012 1 次提交
  12. 30 10月, 2011 1 次提交
  13. 24 6月, 2011 1 次提交
  14. 25 5月, 2011 1 次提交
  15. 24 5月, 2011 1 次提交
  16. 05 5月, 2011 1 次提交
  17. 31 3月, 2011 1 次提交
  18. 09 3月, 2011 1 次提交
  19. 04 2月, 2011 1 次提交
  20. 15 1月, 2011 1 次提交
  21. 08 1月, 2011 1 次提交
  22. 07 1月, 2011 1 次提交
  23. 29 12月, 2010 1 次提交
  24. 20 12月, 2010 1 次提交
  25. 25 11月, 2010 1 次提交
  26. 11 11月, 2010 1 次提交
  27. 14 10月, 2010 1 次提交
  28. 06 9月, 2010 1 次提交
  29. 21 7月, 2010 1 次提交
  30. 18 6月, 2010 1 次提交
    • M
      kbuild: Clean up and speed up the localversion logic · 09155120
      Michal Marek 提交于
      Now that we run scripts/setlocalversion during every build, it makes
      sense to move all the localversion logic there. This cleans up the
      toplevel Makefile and also makes sure that the script is called only
      once in 'make prepare' (previously, it would be called every time due to
      a variable expansion in an ifneq statement). No user-visible change is
      intended, unless one runs the setlocalversion script directly.
      Reported-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Greg Thelen <gthelen@google.com>
      Cc: Nico Schottelius <nico-linuxsetlocalversion@schottelius.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      09155120