1. 30 10月, 2008 1 次提交
  2. 26 7月, 2008 2 次提交
    • S
      kbuild: install all headers when arch is changed · db1bec4f
      Sam Ravnborg 提交于
      We see some header files that are selected dependent on
      the actual architecture so force a reinstallation
      of all header files when the arch changes.
      This slows down "make headers_check_all" but then
      we better reflect reality.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      db1bec4f
    • S
      kbuild: optimize headers_* targets · 7712401a
      Sam Ravnborg 提交于
      Move the core functionality of headers_install
      and headers_check to two small perl scripts.
      The makefile is adapted to use the perl scrip and
      changed to operate on all files in a directory.
      So if one file is changed then all files in the
      directory is processed.
      
      perl were chosen for the helper scripts because this
      is pure text processing which perl is good at and
      especially the headers_check.pl script are expected to
      see changes / new checks implmented.
      
      The speed is ~300% faster on this box.
      And the output generated to the screen is now down to
      two lines per directory (one for install, one for check)
      so it is easier to scroll back after a kernel build.
      
      The perl scripts has been brought to sanity by patient
      feedback from: Vegard Nossum <vegard.nossum@gmail.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      7712401a