1. 23 Aug, 2004 1 commit
  2. 22 Aug, 2004 1 commit
    • Sam Ravnborg's avatar
      kbuild: Consolidated cc support function · a23a4605
      Sam Ravnborg authored
      Added three function to top-level Makefile:
      cc-option (replacing check_gcc)
      cc-option-yn (as cc-option but return y or n)
      cc-version (numeric version of $(CC))
      Documentation added to Documentation/kbuild/makefiles.txt
      
      The check_gcc version is still present, but now spit out a arning if used.
      The new naming where chosen to get consistent naming of all three functions
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      a23a4605
  3. 19 Aug, 2004 4 commits
  4. 18 Aug, 2004 3 commits
  5. 16 Aug, 2004 1 commit
  6. 15 Aug, 2004 11 commits
    • Sam Ravnborg's avatar
      kbuild: Allow external modules to use host-progs with no warning · a82bae6e
      Sam Ravnborg authored
      Only warn if $(host-progs) and $(hostptogs-y) are not equal.
      This allows external modules to use:
      hostprogs-y := file ...
      host-progs  := $(hostprogs-y)
      
      This is backwards compatible and will not warn.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      a82bae6e
    • Sam Ravnborg's avatar
      kconfig/all archs: Introduce Kconfig.debug · 49105c09
      Sam Ravnborg authored
      Localize Kconfig debug options into one file (lib/Kconfig.debug)
      for easier maintenance, searching, and menu-building.
      
      Updated to 2.6.8.
      
      Summary of changes:
      
      . localizes the following symbols in lib/Kconfig.debug:
          DEBUG_KERNEL, MAGIC_SYSRQ, DEBUG_SLAB, DEBUG_SPINLOCK,
          DEBUG_SPINLOCK_SLEEP, DEBUG_HIGHMEM, DEBUG_BUGVERBOSE,
          DEBUG_INFO
        and FRAME_POINTER for some instances of it (if it's freely
        user-selectable) but not for the cases where it's forced or
        it depends on some other options.
      . adds DEBUG_KERNEL requirement to some DEBUG_vars;
      . remove KALLSYMS from S390-specific kernel hacking menu;
        use KALLSYMS in the EMBEDDED menu instead;
      . add CRIS and M68KNOMMU symbols for use in lib/Kconfig.debug;
      . eliminate duplicate "General setup" labels in sparc64 config;
      . whitespace cleanup;
      . fixed a few trival typos;
      
      Portions of the original patch were also done by
      Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      49105c09
    • Coywolf Qi Hunt's avatar
      kbuild: Remove wildcard on KBUILD_OUTPUT · 25d0fd8f
      Coywolf Qi Hunt authored
      This patch removes unnecessary wildcard on KBUILD_OUTPUT
      Signed-off-by: default avatarCoywolf Qi Hunt <coywolf@greatcn.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      25d0fd8f
    • Sam Ravnborg's avatar
      Merge mars.ravnborg.org:/home/sam/bk/kbuild-mm2 · a91c4fb5
      Sam Ravnborg authored
      into mars.ravnborg.org:/home/sam/bk/kbuild
      a91c4fb5
    • Sam Ravnborg's avatar
      bk: ignore arch/*/kernel/vmlinux.lds · 948a4d33
      Sam Ravnborg authored
      Needed now the lds files got renamed
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      948a4d33
    • Sam Ravnborg's avatar
    • Sam Ravnborg's avatar
      kbuild/all archs: Rename *.lds.s to *.lds · 85fde190
      Sam Ravnborg authored
      For all architectures use the new name for linker definition scripts.
      Based on patch from: Dan Aloni <da-x@colinux.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      85fde190
    • Sam Ravnborg's avatar
      kbuild: Generate *.lds instead of *.lds.s · c51824f0
      Sam Ravnborg authored
      When building a kernel on platforms where the filesytem do
      not distingush between upper and lower case the rule:
      .S -> .s did not work.
      In a normal build this is only used for linker scripts.
      So create a separate rule for .lds files, and use generic cpp flags.
      
      Patch from: Dan Aloni <da-x@colinux.org>
      Modified to use cpp flags + added documentation.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c51824f0
    • Sam Ravnborg's avatar
      kbuild: Bogus "has no CRC" in external module builds · 8f36d53f
      Sam Ravnborg authored
      From: Pavel Roskin <proski@gnu.org>
      The recent fixes for the external module build have fixed the major
      breakage, but they left one annoyance unfixed.  If CONFIG_MODVERSIONS is
      disabled, a warning is printed for every exported symbol that is has no
      CRC.  For instance, I see this when compiling the standalone Orinoco
      driver on Linux 2.6.6-rc3:
      
      *** Warning: "__orinoco_down" [/usr/local/src/orinoco/spectrum_cs.ko] has
      no CRC!
      *** Warning: "hermes_struct_init" [/usr/local/src/orinoco/spectrum_cs.ko]
      has no CRC!
      *** Warning: "free_orinocodev" [/usr/local/src/orinoco/spectrum_cs.ko] has
      no CRC!
      [further warnings skipped]
      
      I have found that the "-i" option for modpost is used for external builds,
      whereas the internal modules use "-o".  The "-i" option causes read_dump()
      in modpost.c to be called.  This function sets "modversions" variable
      under some conditions that I don't understand.  The comment before the
      modversions declarations says: "Are we using CONFIG_MODVERSIONS?"
      
      Apparently modpost fails to answer this question.  I think it's better to
      use an explicit option rather than a kludge.
      
      The attached patch adds a new option "-m" that is specified if and only if
      CONFIG_MODVERSIONS is enabled.  The patch has been successfully tested
      both with and without CONFIG_MODVERSIONS.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      8f36d53f
    • Alexey Dobriyan's avatar
      kerneldoc: Fix comma separated members. · df9b2cba
      Alexey Dobriyan authored
      This patch teaches scripts/kernel-doc to print descriptions
      of comma separated variables correctly instead of ignoring
      them.
      
      Tested on 'make pdfdocs' and 'scripts/kernel-doc -text test.c'.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      df9b2cba
    • Sam Ravnborg's avatar
      Merge mars.ravnborg.org:/home/sam/bk/kbuild-mm · 744dbb74
      Sam Ravnborg authored
      into mars.ravnborg.org:/home/sam/bk/kbuild
      744dbb74
  7. 13 Aug, 2004 16 commits
  8. 12 Aug, 2004 3 commits