An error occurred fetching the project authors.
  1. 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
  2. 22 May, 2002 1 commit
  3. 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
  4. 11 May, 2002 2 commits
    • Kai Germaschewski's avatar
      Makefile cleanup: Don't rebuild init/version.o on each build · 32ec768d
      Kai Germaschewski authored
      init/version.o includes include/linux/compile.h. As compile.h was
      regenerated each time make was run, init/version.o was recompiled each
      time.
      
      To avoid this, use the following solution: Generate a temporary new
      compile.h, and only replace the old one if the new one is different.
      
      We consider the files different if more than just date/time changed, since
      otherwise we would have to rebuild every time anyway.
      
      Still, the two files turned out to be different all the time, as we put
      a generation number into them which is incremented at each invocation of 
      "make". The generation number update is now only done when the kernel
      config changes, which makes more sense, anyway.
      
      So, the UTS_VERSION and generation number now relate to the time the 
      kernel was configured, not the time the actual "make vmlinux" was run, 
      which should be fine.
      32ec768d
    • Kai Germaschewski's avatar
      Add scripts to generate include/linux/{version,compile}.h · 29f3df7e
      Kai Germaschewski authored
      Also, put the #define UTS_MACHINE ... from the command line into
      the header as well.
      29f3df7e