1. 17 7月, 2007 1 次提交
  2. 07 7月, 2007 1 次提交
  3. 22 5月, 2007 1 次提交
    • D
      Make 'headerscheck' stop immediately on an error · df5f6311
      David Woodhouse 提交于
      This should make it stop immediately after printing the _helpful_ error
      message, rather than continuing to spit out many pages more of 'CHECK
      include/linux/foo.h' before eventually coming to a halt with something
      less obvious.
      
      Now I get this...
        CHECK   include/linux/smb_fs.h
      /shiny/git/linux-2.6/usr/include/linux/smb_fs.h requires linux/jiffies.h, which does not exist in exported headers
      make[2]: *** [/shiny/git/linux-2.6/usr/include/linux/.check.smb_fs.h] Error 1
      make[1]: *** [linux] Error 2
      make: *** [headers_check] Error 2
      
      Signed-off-by-if-Sam-says-so: David Woodhouse <dwmw2@infradead.org>
      [ Sam had better say so! This made me waste way too much time. - Linus]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      df5f6311
  4. 31 1月, 2007 1 次提交
  5. 17 10月, 2006 1 次提交
  6. 04 10月, 2006 1 次提交
  7. 25 9月, 2006 2 次提交
  8. 17 9月, 2006 1 次提交
    • D
      [PATCH] Fix 'make headers_check' on biarch architectures · b5122177
      David Woodhouse 提交于
      We generate an <asm/foo.h> which includes either <asm-$ARCH/foo.h> or
      <asm-$ALTARCH/foo.h> as appropriate.  But we were doing this dependent on
      whether the file in question existed in the _unexported_ tree, not the
      exported tree.  So if a file was exported to userspace in one asm- directory
      but not the other, the generated file in asm/ was incorrect.
      
      This only changed the failure mode if it _was_ included from a nice #error to
      a less explicable #include failure -- but it also gave false errors in 'make
      headers_check' output.  Fix it by looking in the right place instead.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b5122177
  9. 18 6月, 2006 2 次提交
    • D
      Basic implementation of 'make headers_check' · 68475359
      David Woodhouse 提交于
      Based on the 'headers_install' target, this performs a basic sanity check
      on the exported headers -- so far only checking that they do not include
      any other headers which aren't selected for import, but easily extendable.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      68475359
    • D
      Basic implementation of 'make headers_install' · 8d730cfb
      David Woodhouse 提交于
      This adds a make target which exports a subset of headers which contain
      definitions which are useful for system libraries and tools. It uses the
      BSD 'unifdef' tool to remove instances of #ifdef __KERNEL__, and uses
      sed to remove markers like __user.
      
      Based on an original implementation by Arnd Bergmann <arnd@arndb.de>
      Hacked about by David Woodhouse <dwmw2@infradead.org>
      Reviewed and cleaned up by Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      8d730cfb