1. 10 6月, 2009 1 次提交
    • R
      scripts/headers_check.pl: correct RE in header CONFIG leak check · 1581c1ce
      Robert P. J. Day 提交于
      Correct the regular expression in scripts/headers_check.pl to include '_'
      as a valid character in the class; otherwise, the check will report a
      "leaked" symbol of CONFIG_A_B_C as merely CONFIG_A.
      
      This patch will make no difference whatsoever in the current kernel tree
      as the call to the perl routine that does that check is currently
      commented out:
      
                      &check_include();
                      &check_asm_types();
                      &check_sizetypes();
                      &check_prototypes();
                      # Dropped for now. Too much noise &check_config();
      
      However, I noticed that problem when I was building the yum downloadable
      kernel source rpm for fedora 11 (beta), which *does* run that check, and
      that's where the problem became obvious.
      Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      1581c1ce
  2. 31 1月, 2009 1 次提交
  3. 03 1月, 2009 4 次提交
  4. 30 10月, 2008 1 次提交
  5. 26 7月, 2008 1 次提交
    • 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