An error occurred fetching the project authors.
  1. 18 Sep, 2002 1 commit
  2. 16 Aug, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Remove HPATH, general cleanup · 66f1fd2f
      Kai Germaschewski authored
      HPATH won't work with separate obj/src dirs, since it doesn't specify
      if we want to look at source or generated files. Fortunately, most uses
      in arch/*/Makefile were superfluous anyway, the others were converted to
      explicitly $(srctree) or $(objtree).
      
      Additionally, a bit more of srctree / objtree related cleanup.
      66f1fd2f
  3. 17 Jun, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Introduce $(obj), $(src) · 99fd37ec
      Kai Germaschewski authored
      For separate source and object directories, Rules.make needs
      to know where the files live.
      
      For all the normal variables, $(obj-[ymn]) etc, it can figure that
      out by itself, but for explicit rules to generate files it needs
      help. 
      
      So there $(obj)/target.o indicates that this file lives in the 
      object directory, as opposed to $(src)/target.c, which lives in
      the source dir.
      
      For now $(obj) = $(src) = ., but convert some Makefiles to it
      already.
      99fd37ec
  4. 09 Jun, 2002 1 commit
  5. 06 Jun, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Enforce UTS limit, use LANG=C for date/time · 561e79b0
      Kai Germaschewski authored
      Patch by Keith Owens, ported to 2.5.
      
      If the length of $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
      exceeds 64 characters it silently corrupts the utsname data, resulting
      in garbage for uname -r and problems running the kernel and modules.
      Abort if KERNELRELEASE is too long.  Truncation is not good enough, it
      results in ambiguous /lib/modules/`uname -r` contents.
      
      Ensure that the date/time in uname are always in LANG=C.  Users with
      other languages report that 8 bit values cause the boot messages to go
      haywire.
      561e79b0
  6. 05 Jun, 2002 2 commits
    • Kai Germaschewski's avatar
      kbuild: Fix calling of scripts · d02c2b1f
      Kai Germaschewski authored
      We source some scripts, but still pass parameters to them, e.g.
      
      	. mk_version_h $@ $(KERNELRELEASE) $(VERSION) ...
      
      This does not work for all kinds of /bin/sh (it does for bash, that's
      why I did not notice).
      
      The fix is easy: Just mark the scripts executable and call instead of
      source them.
      
      Unfortunately, patch(1) doesn't understand about propagating chmod.
      bk does, so changing the tree isn't hard, and we introduce an explicit
      chmod a+x executed during the build for propagating this change into
      those trees which get "traditionally" patched up.
      d02c2b1f
    • Kai Germaschewski's avatar
      kbuild: Fix make -s (silent) and add a quiet mode · 00b454db
      Kai Germaschewski authored
      Suppress echoing of commands when using "make -s", so that make -s
      does indeed have the effect one would expect.
      
      Add a quiet mode, which will print not the entire command but only
      one line per rule. To turn it on, use
      
      	make KBUILD_VERBOSE=0 vmlinux/whatever
      
      or set KBUILD_VERBOSE=0 in your environment.
      
      For now, the verbose mode is default, which gives you the old behavior
      of printing all commands.
      
      The output in quiet mode is based on what Keith Owens' kbuild-2.5 does,
      I like, I did not want to invent yet another output format.
      00b454db
  7. 28 May, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Normal sources should not include <linux/compile.h> · c7355265
      Kai Germaschewski authored
      include/linux/compile.h is a generated file, only init/Makefile knows 
      about it - including it outside of init/* will cause trouble on
      parallel builds.
      
      Also, when compile.h already exists when 'make dep' is run, that'll pick
      up a dependency on $(TOPDIR)/include/linux/compile.h. So init/Makefile
      needs to tell make that this is actually the same file as 
      ../include/linux.compile.h
      c7355265
  8. 24 May, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Use consistently FORCE instead of dummy · cc4749dc
      Kai Germaschewski authored
      FORCE is the de-facto standard name for a prequisite to force
      recompilation, so instead of using a mix of 'dummy','FORCE' and
      'FORCE_RECOMPILE' use 'FORCE' everywhere.
      
      Also, move figuring out the path relative to the top level dir
      into Rules.make, instead of calling an external script. 
      cc4749dc
  9. 20 May, 2002 1 commit
    • Kai Germaschewski's avatar
      kbuild: Standardize building of init/* · 5674ceba
      Kai Germaschewski authored
      There's no good reason to build the objects in init/ explicitly from
      the top-level Makefile. Instead, handle init/ like every other
      subdir, which also provides the automatic checks for a changed
      command line etc.
      5674ceba