1. 04 12月, 2008 3 次提交
    • M
      kbuild: kill output in silent mode of mkcompile_h · d03fab43
      Mike Frysinger 提交于
      The mkcompile_h script does `echo` regardless of silent mode the make is
      running at, so have it respect $quiet from kbuild and only echo when not in
      silent mode.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      d03fab43
    • S
      kbuild: expand -I in KBUILD_CPPFLAGS · d8672b40
      Sam Ravnborg 提交于
      kbuild failed to expand include flags in KBUILD_CPPFLAGS
      resulting in code like this in arch Makefiles:
      
      ifeq ($(KBUILD_SRC),)
      KBUILD_CPPFLAGS += -Iinclude/foo
      else
      KBUILD_CPPFLAGS += -I$(srctree)/include/foo
      endif
      
      Move use of LINUXINCLUDE into Makefile.lib to allow
      us to expand -I directives of KBUILD_CPPFLAGS so
      we can avoid the above code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      d8672b40
    • S
      kbuild: fix -I option expansion with O=... builds · 5b91c33c
      Sam Ravnborg 提交于
      When adding extra -I options with O=... we could
      end up in a situation where there were no parameters to -I.
      So we had a commandline that looked like this:
      
          ... -I -Wall ...
      
      This had the undesired side effect that gcc assumed "-Wall"
      was a path to look for include files so this options was
      effectively ignored.
      
      This happens only when we build the generated module.mod.c files
      as part of the final modules builds and is as such harmless
      with current kbuild.
      This bug was exposed when we rearranged the options to gcc.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      5b91c33c
  2. 02 12月, 2008 1 次提交
  3. 10 11月, 2008 1 次提交
  4. 30 10月, 2008 8 次提交
  5. 27 10月, 2008 2 次提交
    • R
      kernel-doc: allow more whitespace in macros · 890c78c2
      Randy Dunlap 提交于
      Allow macros that are annotated with kernel-doc to contain whitespace
      between the '#' and "define".  It's valid and being used, so allow it.
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      890c78c2
    • A
      fix allmodconfig breakage · ce97e13e
      Al Viro 提交于
      If you use KCONFIG_ALLCONFIG (even with empty file) you get broken
      allmodconfig/allyesconfig; CONFIG_MODULES gets turned off, with obvious
      massive fallout.
      
      Breakage had been introduced when conf_set_all_new_symbols() got used
      for allmodconfig et.al.
      
      What happens is that sym_calc_value(modules_sym) done in
      conf_read_simple() sets SYMBOL_VALID on both modules_sym and MODULES.
      When we get to conf_set_all_new_symbols(), we set sym->def[S_DEF_USER]
      on everything, but it has no effect on sym->curr for the symbols that
      already have SYMBOL_VALID - these are stuck.
      
      Solution: use sym_clear_all_valid() in there.  Note that it makes
      reevaluation of modules_sym redundant - sym_clear_all_valid() will do
      that itself.
      
      [ Fixes http://bugzilla.kernel.org/show_bug.cgi?id=11512, says Alexey ]
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ce97e13e
  6. 23 10月, 2008 5 次提交
  7. 22 10月, 2008 2 次提交
  8. 21 10月, 2008 2 次提交
  9. 17 10月, 2008 16 次提交