1. 30 Dec, 2002 8 commits
    • Kai Germaschewski's avatar
      kbuild: Provide "make some/dir/module.ko" · 5c8daf12
      Kai Germaschewski authored
      Now that we have a unique suffix for kernel modules (.ko), we
      can extend to former "make some/object.o" to work for kernel modules
      as well, even composite ones.
      
      It's as easy as "make some/dir/module.ko".
      
      (Sam Ravnborg/me)
      5c8daf12
    • Sam Ravnborg's avatar
      kbuild/x86_64: archhelp, $(build) usage and cleaning · d4930da8
      Sam Ravnborg authored
      Moved archhelp to arch/x86_64/Makefile
      Introduced usage of $(build) and $(clean)
      Use kbuild clean infrastructure
      d4930da8
    • Sam Ravnborg's avatar
      kbuild/sparc64: archhelp and $(build) · 95fa3d76
      Sam Ravnborg authored
      Moved archhelp to arch/sparc64/Makefile
      introduced usage of $(build)
      Removed superflous targets archclean and archmrproper
      95fa3d76
    • Sam Ravnborg's avatar
      kbuild/arm: archhelp and $(build) · a2374e4e
      Sam Ravnborg authored
      Moved archhelp to arch/arm/Makefile
      Introduced usage of $(build) and $(clean)
      a2374e4e
    • Sam Ravnborg's avatar
      kbuild: Move archhelp to arch/$(ARCH)/Makefile · 656bbdfd
      Sam Ravnborg authored
      arch/$(ARCH)/Makefile already contains the kbuild required additions
      to allow the kernel to be built for the architecture in question.
      Moving archhelp centralise this information, and no longer require a
      boot directory to exist to utilise this feature.
        
      Update i386 to define archhelp in arch/$(ARCH)/Makefile
      Other architectures will be updated in next cset.
      656bbdfd
    • Sam Ravnborg's avatar
      kbuild: $(build) and $(clean) macros for make invocation · 69964a47
      Sam Ravnborg authored
      The former macro $(descend ...) hide for make the fact that a recursively make was
      invoked. The replacement $(Q)$(MAKE) -f scripts/Makefile.build obj=dir was too verbose.
        
      Introduced $(build) and $(clean) allowing the following syntax:
      $(Q)$(MAKE) $(build)=arch/i386/boot target
      and similar for clean.
        
      Introduced $(build) and $(clean) in general, and for i386 architecture.
      69964a47
    • Sam Ravnborg's avatar
      kbuild: More src/objtree fixes · 527efc05
      Sam Ravnborg authored
      Add $(srctree)/ etc. to some more places where it was still missing.
      527efc05
    • Kai Germaschewski's avatar
      kbuild: Fix kallsyms on 64 bit archs · be74f368
      Kai Germaschewski authored
      The generated .tmp_kallsyms.S needs to use .long / .quad for
      32/64 bit archs. To know which arch we're compiling for, we
      use the preprocessor and BITS_PER_LONG from <asm/types.h>.
      
      Unfortunately, asm/types.h was not safe to include from assembler
      files, so lots of #ifndef __ASSEMBLY__ needed to be added - should
      be fine now, untested for != i386, though.
      be74f368
  2. 29 Dec, 2002 29 commits
  3. 28 Dec, 2002 3 commits