1. 11 Jun, 2002 1 commit
  2. 10 Jun, 2002 25 commits
  3. 09 Jun, 2002 14 commits
    • Linus Torvalds's avatar
      ccea6989
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 83859fba
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      83859fba
    • Kai Germaschewski's avatar
      kbuild: Improve output alignment · 1a3fbb1f
      Kai Germaschewski authored
      by Sam Ravnborg
      1a3fbb1f
    • Kai Germaschewski's avatar
      Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make · d782495d
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      d782495d
    • Kai Germaschewski's avatar
      kbuild: Track dependencies for .ver files · 0ced6457
      Kai Germaschewski authored
      Tracking dependencies for .ver files isn't really different from
      the dependency tracking for the other .[ois] targets we do,
      so just use the normal $(call if_changed_dep) framework. That makes
      speeds up re-running "make dep" a lot.
      0ced6457
    • Kai Germaschewski's avatar
      kbuild: Generate modversions only for selected objects · d84e208a
      Kai Germaschewski authored
      Up to now, we generated module versions for all objects which
      were listed in $(export-objs).
      
      This had one advantage: A changed .config will not affect which
      .ver files are built, thus saving recompiles.
      
      However, it is fundamentally broken. To build .ver files, we preprocess
      the exporting sources - and the result can obviously depend on
      the current .config. Even worse, some files generate errors when
      preprocessed with the wrong .config - it doesn't matter a lot that
      drivers/sbus/* will generate errors on x86, since it won't be used anyway,
      but e.g. kernel/suspend.c cannot be preprocessed unless 
      CONFIG_SOFTWARE_SUSPEND is set. - Up to now, we just silently ignore
      these errors.
      
      Actually, the whole point behind CONFIG_MODVERSIONS is to make sure
      we don't insert modules into a kernel which was configured differently,
      and as such the generation of symbols can only work when .config is
      known.
      
      So we now only generate symbols for objects which will actually be
      compiled - which means less work, and enforce the kernel to be configured
      before "make dep".
      d84e208a
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · e618013a
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e618013a
    • Russell King's avatar
      [ARM] 3 trivial changes: · e0addcb4
      Russell King authored
       - Add ARM version for asm/suspend.h
       - Use inline in atomic.h rather than __inline__
       - Fix up a missed superblock conversion in fs/adfs/map.c
         (hadn't been converted to use ADFS_SB())
      e0addcb4
    • Russell King's avatar
      [ARM] Fix ARM build (, -> _) · 30009ebe
      Russell King authored
      The kbuild infrastructure in 2.5.21 uses the filename to generate a
      dependency file, which is passed into gcc using -Wp,-MD,filename.
      Unfortunately, the ',' in the filename is interpreted by GCC as an
      argument separator for the preprocessor.  So, with a filename
      foo,bar.c gcc ends up passing the three arguments "-MD", "foo" and
      "bar.c" to cpp, which promptly complains.
      
      We therefore rename these files to use an underscore instead of a
      comma.
      30009ebe
    • Russell King's avatar
      Merge http://gkernel.bkbits.net/linus-2.5 · 0494fa17
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
      0494fa17
    • Kai Germaschewski's avatar
      kbuild: Optimize include of .*.cmd · badaa98e
      Kai Germaschewski authored
      Keep track of possible targets while we add rules - Later, only
      include the command lines / dependencies as needed.
      
      E.g., when defining how to build multi-part objects listed in
      $(multi-used-y) and $(multi-used-m), add $(multi-used-y,m) to 
      the variable targets. At the end of Rules.make, we then include
      the saved command lines for these targets (if they exist), needed
      to check whether the command changed and we hence need to rebuild.
      badaa98e
    • Kai Germaschewski's avatar
      kbuild: Put .cmd/.d files into the same directory as the target · 2c3d57b4
      Kai Germaschewski authored
      Previously, we always had put the .cmd/.d files into the local subdir
      - now we put them into the directory where the target lives, like
      
      	some/dir/target.o <-> some/dir/.target.o.cmd
      
      It does not yet make a difference, since we always only generated
      targets in the local directory anyway, but that will change with
      tracking dependencies for .ver files.
      2c3d57b4
    • Kai Germaschewski's avatar
      kbuild: Rules.make cleanup · f9f8d484
      Kai Germaschewski authored
      We use A/CFLAGS_KERNEL by default anyway, so no need to set them
      explicitly for built-in objects.
      f9f8d484
    • Kai Germaschewski's avatar
      kbuild: Rearrange Rules.make · 7a3b08a2
      Kai Germaschewski authored
      This patch doesn't change anything but the order (and some comments) in
      Rules.make. The reason for that is that we use Rules.make for three
      different purposes, fastdep, modules_install and the actual building.
      
      As an example, we don't need all the dependencies and saved command lines
      when installing modules, so it'll speed up this pass to only include the
      rules which will actually get used.
      7a3b08a2