1. 19 Feb, 2003 9 commits
    • Kai Germaschewski's avatar
      kbuild: Fix genksyms __typeof__ handling · bc6efdcb
      Kai Germaschewski authored
      genksyms used to fail generating a checksum for a symbol which was
      defined using __typeof__.
      
      This minimal patch fixes it to recognize the case which occurs in the
      kernel, it's not a complete correct typeof handling, but it serves our
      needs.
      bc6efdcb
    • Kai Germaschewski's avatar
      kbuild: [PATCH] adapt genksyms for current kbuild · 57146c8a
      Kai Germaschewski authored
      By Rusty Russell.
      
      o generate output in a form feasible as linker script instead of 
        munging it with sed during the build
      o remove checksum version 1 support
      o remove prefix support
      57146c8a
    • Kai Germaschewski's avatar
      kbuild: [PATCH] put genksyms in scripts dir · 46bd1da6
      Kai Germaschewski authored
      This puts genksyms into scripts/genksyms/.
      
      genksyms used to be maintained externally, though the only possible user
      was the kernel build. Moving it into the kernel sources makes it easier to
      keep it uptodate, like for example updating it to generate linker scripts
      directly instead of postprocessing the generated header file fragments 
      with sed, as we do currently.
      
      Also, genksyms does not handle __typeof__, which needs to be fixed since
      some of the exported symbol in the kernel are defined using __typeof__. 
      
      (Rusty Russell/me)
      46bd1da6
    • Kai Germaschewski's avatar
      kbuild: [PATCH] Remove checkhelp.pl and header.tk · 8e19dec4
      Kai Germaschewski authored
      From Brian Gerst:
      
      > Changes in the config system have obsoleted these files.
      8e19dec4
    • Kai Germaschewski's avatar
      kbuild: [PATCH] eliminate warnings in generated module files · b45a1476
      Kai Germaschewski authored
      From Richard Henderson:
      
      > The compiler.h fragment should describe the problem well enough.
      
      (I tested egcs 2.91.66, even there no problem)
      b45a1476
    • Kai Germaschewski's avatar
      kbuild: typo fix · 306a1aad
      Kai Germaschewski authored
      Patch from Rolf Eike Beer:
      
      > Linus asked for typo fixes, so here is one...
      306a1aad
    • Kai Germaschewski's avatar
      kbuild: Handle MODULE_SYMBOL_PREFIX in module postprocessing · 3194de9c
      Kai Germaschewski authored
      Loosely based on a patch by Miles Bader, have modpost deal with
      weird archs (v850) which prefix their symbols with '_'.
      
      Modpost does not yet handle ppc64 "prefix function symbols with '.'"
      correctly, btw.
      3194de9c
    • Kai Germaschewski's avatar
      kbuild: Fix a race with module postprocessing · 939ff499
      Kai Germaschewski authored
      For the modversions case, we need vmlinux to be built before postprocessing
      modules can start, since we need to extract the checksums from it.
      
      For the non-modversions case, we use vmlinux if it's available (so we can
      sensibly give warnings about unresolved symbols), but otherwise not. 
      However, this could race with vmlinux being built at the exact same time as 
      being processed.
      
      Fixed by waiting until vmlinux is finished before starting module
      postprocessing.
      939ff499
    • Kai Germaschewski's avatar
      kbuild: Remove scripts/elfconfig.h with "make clean" · 4339cd9a
      Kai Germaschewski authored
      We have a bit of a mess with build-targets, EXTRA_TARGETS, targets,
      which needs cleaning up some time. Anyway, we just add $(targets) to the
      files which get deleted with "make clean" for now.
      4339cd9a
  2. 18 Feb, 2003 31 commits