1. 04 9月, 2015 1 次提交
  2. 10 1月, 2015 3 次提交
  3. 03 12月, 2014 1 次提交
  4. 26 11月, 2014 1 次提交
  5. 22 10月, 2014 1 次提交
  6. 02 10月, 2014 1 次提交
  7. 08 8月, 2014 1 次提交
  8. 30 3月, 2014 1 次提交
  9. 14 2月, 2014 1 次提交
  10. 08 4月, 2013 1 次提交
    • A
      kbuild: fix ld-option function · 5b83df2b
      Antony Pavlov 提交于
      The kbuild's ld-option function is broken because
      the command
        $(CC) /dev/null -c -o "$$TMPO"
      does not create object file!
      
      I have used a relatively old mips gcc 3.4.6 cross-compiler
      and a relatively new gcc 4.7.2 to check this fact
      but the results are the same.
      
      EXAMPLE:
        $ rm /tmp/1.o
        $ mips-linux-gcc /dev/null -c -o /tmp/1.o
        mips-linux-gcc: /dev/null: linker input file unused because linking not done
        $ ls -la /tmp/1.o
        ls: cannot access /tmp/1.o: No such file or directory
      
      We can easily fix the problem by adding
      the '-x c' compiler option.
      
      EXAMPLE:
        $ rm /tmp/1.o
        $ mips-linux-gcc -x c /dev/null -c -o /tmp/1.o
        $ ls -la /tmp/1.o
        -rw-r--r-- 1 antony antony 778 Apr  2 20:40 /tmp/1.o
      
      Also fix wrong ld-option example.
      Signed-off-by: NAntony Pavlov <antonynpavlov@gmail.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5b83df2b
  11. 06 10月, 2012 1 次提交
  12. 03 10月, 2012 1 次提交
    • J
      kbuild: Fix gcc -x syntax · b1e0d8b7
      Jean Delvare 提交于
      The correct syntax for gcc -x is "gcc -x assembler", not
      "gcc -xassembler". Even though the latter happens to work, the former
      is what is documented in the manual page and thus what gcc wrappers
      such as icecream do expect.
      
      This isn't a cosmetic change. The missing space prevents icecream from
      recognizing compilation tasks it can't handle, leading to silent kernel
      miscompilations.
      
      Besides me, credits go to Michael Matz and Dirk Mueller for
      investigating the miscompilation issue and tracking it down to this
      incorrect -x parameter syntax.
      Signed-off-by: NJean Delvare <jdelvare@suse.de>
      Acked-by: NIngo Molnar <mingo@kernel.org>
      Cc: stable@vger.kernel.org
      Cc: Bernhard Walle <bernhard@bwalle.de>
      Cc: Michal Marek <mmarek@suse.cz>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      b1e0d8b7
  13. 25 3月, 2012 1 次提交
    • B
      scripts/Kbuild.include: Fix portability problem of "echo -e" · 875de986
      Bernhard Walle 提交于
      "echo -e" is a GNU extension. When cross-compiling the kernel on a
      BSD-like operating system (Mac OS X in my case), this doesn't work.
      
      One could install a GNU version of echo, put that in the $PATH before
      the system echo and use "/usr/bin/env echo", but the solution with
      printf is simpler.
      
      Since it is no disadvantage on Linux, I hope that gets accepted even if
      cross-compiling the Linux kernel on another Unix operating system is
      quite a rare use case.
      Signed-off-by: NBernhard Walle <bernhard@bwalle.de>
      Andreas Bießmann <andreas@biessmann.de>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      875de986
  14. 10 6月, 2011 1 次提交
  15. 16 5月, 2011 1 次提交
    • M
      kbuild: make KBUILD_NOCMDDEP=1 handle empty built-in.o · c4d5ee13
      Michal Marek 提交于
      Based on a patch by Rabin Vincent.
      
      Fix building with KBUILD_NOCMDDEP=1, which currently does not work
      because it does not build built-in.o with no dependencies:
      
        LD      fs/notify/built-in.o
      ld: cannot find fs/notify/dnotify/built-in.o: No such file or directory
      ld: cannot find fs/notify/inotify/built-in.o: No such file or directory
      ld: cannot find fs/notify/fanotify/built-in.o: No such file or directory
      Reported-and-tested-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c4d5ee13
  16. 03 5月, 2011 1 次提交
  17. 20 4月, 2011 1 次提交
  18. 12 12月, 2009 1 次提交
    • M
      kbuild: generate modules.builtin · bc081dd6
      Michal Marek 提交于
      To make it easier for module-init-tools and scripts like mkinitrd to
      distinguish builtin and missing modules, install a modules.builtin file
      listing all builtin modules. This is done by generating an additional
      config file (tristate.conf) with tristate options set to uppercase 'Y'
      or 'M'. If we source that config file, the builtin modules appear in
      obj-Y.
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      bc081dd6
  19. 12 10月, 2009 1 次提交
  20. 20 9月, 2009 3 次提交
  21. 04 12月, 2008 3 次提交
  22. 10 9月, 2008 1 次提交
  23. 12 2月, 2008 1 次提交
    • S
      kbuild: fix make V=1 · fab1e310
      Sam Ravnborg 提交于
      When make -s support were added to filechk to
      combination created with make V=1 were not
      covered.
      Fix it by explicitly cover this case too.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Cc: Mike Frysinger <vapier@gentoo.org>
      fab1e310
  24. 09 2月, 2008 1 次提交
  25. 20 10月, 2007 1 次提交
    • S
      kbuild: introduce cc-cross-prefix · 910b4046
      Sam Ravnborg 提交于
      cc-cross-prefix is useful for the architecture that like
      to provide a default CROSS_COMPILE value,
      but may have several to select between.
      
      Sample usage:
      
      ifneq ($(SUBARCH),$(ARCH))
              ifeq ($(CROSS_COMPILE),)
                     CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
              endif
      endif
      
      Actual usage by the different archs will taken care of later.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      910b4046
  26. 16 10月, 2007 1 次提交
    • S
      kbuild: enable 'make AFLAGS=...' to add additional options to AS · 222d394d
      Sam Ravnborg 提交于
      The variable AFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of AFLAGS with KBUILD_AFLAGS all over
      the tree.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      222d394d
  27. 15 10月, 2007 1 次提交
    • S
      kbuild: enable 'make CFLAGS=...' to add additional options to CC · a0f97e06
      Sam Ravnborg 提交于
      The variable CFLAGS is a wellknown variable and the usage by
      kbuild may result in unexpected behaviour.
      On top of that several people over time has asked for a way to
      pass in additional flags to gcc.
      
      This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
      tree and enabling one to use:
      make CFLAGS=...
      to specify additional gcc commandline options.
      
      One usecase is when trying to find gcc bugs but other
      use cases has been requested too.
      
      Patch was tested on following architectures:
      alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k
      
      Test was simple to do a defconfig build, apply the patch and check
      that nothing got rebuild.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      a0f97e06
  28. 17 7月, 2007 1 次提交
  29. 10 2月, 2007 1 次提交
  30. 09 2月, 2007 1 次提交
  31. 08 2月, 2007 2 次提交
  32. 07 2月, 2007 1 次提交
  33. 11 12月, 2006 1 次提交