1. 28 Sep, 2022 3 commits
  2. 03 Feb, 2020 1 commit
    • Masahiro Yamada's avatar
      kbuild: rename hostprogs-y/always to hostprogs/always-y · 5f2fb52f
      Masahiro Yamada authored
      
      In old days, the "host-progs" syntax was used for specifying host
      programs. It was renamed to the current "hostprogs-y" in 2004.
      
      It is typically useful in scripts/Makefile because it allows Kbuild to
      selectively compile host programs based on the kernel configuration.
      
      This commit renames like follows:
      
        always       ->  always-y
        hostprogs-y  ->  hostprogs
      
      So, scripts/Makefile will look like this:
      
        always-$(CONFIG_BUILD_BIN2C) += ...
        always-$(CONFIG_KALLSYMS)    += ...
            ...
        hostprogs := $(always-y) $(always-m)
      
      I think this makes more sense because a host program is always a host
      program, irrespective of the kernel configuration. We want to specify
      which ones to compile by CONFIG options, so always-y will be handier.
      
      The "always", "hostprogs-y", "hostprogs-m" will be kept for backward
      compatibility for a while.
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      5f2fb52f
  3. 21 Aug, 2019 1 commit
  4. 14 Aug, 2019 1 commit
  5. 27 Feb, 2019 2 commits
  6. 06 Jan, 2019 2 commits
  7. 24 Dec, 2018 1 commit
  8. 23 Dec, 2018 2 commits
  9. 09 Nov, 2018 1 commit
    • Borislav Petkov's avatar
      locking/atomics: Fix out-of-tree build · bdf37b4d
      Borislav Petkov authored
      
      Building a kernel out of tree with:
      
        make O=/tmp/b oldconfig
        cd /tmp/b
        make
      
      gives this error:
      
          CALL    /mnt/kernel/kernel/linux/scripts/atomic/check-atomics.sh
        /bin/bash: scripts/atomic/check-atomics.sh: No such file or directory
        make[3]: *** [/mnt/kernel/kernel/linux/./Kbuild:86: old-atomics] Error 127
        make[3]: *** Waiting for unfinished jobs....
      
      Make the command use the proper build prerequisite which is the absolute
      path to the script.
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
      Cc: Boqun Feng <boqun.feng@gmail.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: arnd@arndb.de
      Cc: aryabinin@virtuozzo.com
      Cc: catalin.marinas@arm.com
      Cc: dvyukov@google.com
      Cc: glider@google.com
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linuxdrivers@attotech.com
      Fixes: 8d325880 ("locking/atomics: Check generated headers are up-to-date")
      Link: http://lkml.kernel.org/r/20181108194128.13368-1-bp@alien8.de
      
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      bdf37b4d
  10. 01 Nov, 2018 1 commit
  11. 16 Nov, 2017 1 commit
  12. 02 Nov, 2017 1 commit
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
      b2441318
  13. 12 Apr, 2017 1 commit
  14. 24 May, 2016 1 commit
  15. 01 Jul, 2015 1 commit
  16. 19 May, 2015 1 commit
  17. 02 Apr, 2015 1 commit
  18. 24 Mar, 2015 1 commit
  19. 05 Jan, 2015 2 commits
  20. 09 Nov, 2011 1 commit
  21. 01 Nov, 2011 1 commit
  22. 27 Oct, 2010 1 commit
    • David Howells's avatar
      Partially revert patch that encloses asm-offset.h numbers in brackets · 95a2f6f7
      David Howells authored
      Partially revert patch:
      
      	commit 3234282f
      
      
      	Author: Jan Beulich <JBeulich@novell.com>
      	Date:   Tue Oct 19 14:52:26 2010 +0100
      	x86, asm: Fix CFI macro invocations to deal with shortcomings in gas
      
      This breaks MN10300 arch as this changes many instances of instructions
      similar to the following:
      
      	MOV	number,D0
      
      which represents an immediate value load into:
      
      	MOV	(number),D0
      
      which the assembler then interprets as a load from absolute address.
      
      arch/mn10300/kernel/entry.S:64: Error: Invalid opcode/operands
      arch/mn10300/kernel/entry.S:65: Error: junk at end of line, first unrecognized character is `0'
      arch/mn10300/kernel/entry.S:74: Error: Invalid opcode/operands
      arch/mn10300/kernel/entry.S:74: Error: junk at end of line, first unrecognized character is `1'
      arch/mn10300/kernel/entry.S:75: Error: Invalid opcode/operands
      arch/mn10300/kernel/entry.S:76: Error: junk at end of line, first unrecognized character is `0'
      
      cc: Jan Beulich <jbeulich@novell.com>
      cc: Alexander van Heukelum <heukelum@fastmail.fm>
      cc: H. Peter Anvin <hpa@linux.intel.com>
      cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      95a2f6f7
  23. 22 Oct, 2010 1 commit
  24. 19 Oct, 2010 1 commit
    • Jan Beulich's avatar
      x86, asm: Fix CFI macro invocations to deal with shortcomings in gas · 3234282f
      Jan Beulich authored
      
      gas prior to (perhaps) 2.16.90 has problems with passing non-
      parenthesized expressions containing spaces to macros. Spaces, however,
      get inserted by cpp between any macro expanding to a number and a
      subsequent + or -. For the +, current x86 gas then removes the space
      again (future gas may not do so), but for the - the space gets retained
      and is then considered a separator between macro arguments.
      
      Fix the respective definitions for both the - and + cases, so that they
      neither contain spaces nor make cpp insert any (the latter by adding
      seemingly redundant parentheses).
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      LKML-Reference: <4CBDBEBA020000780001E05A@vpn.id2.novell.com>
      Cc: Alexander van Heukelum <heukelum@fastmail.fm>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      3234282f
  25. 11 Mar, 2010 1 commit
  26. 12 Dec, 2009 2 commits
  27. 25 Jul, 2008 1 commit
  28. 19 May, 2008 1 commit
  29. 28 Apr, 2008 2 commits
  30. 11 Oct, 2007 2 commits
  31. 16 Jul, 2007 1 commit