1. 17 Oct, 2006 1 commit
  2. 04 Oct, 2006 1 commit
  3. 25 Sep, 2006 1 commit
  4. 24 Sep, 2006 1 commit
  5. 16 Sep, 2006 1 commit
    • David Woodhouse's avatar
      [PATCH] Fix 'make headers_check' on biarch architectures · b5122177
      David Woodhouse authored
      
      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: default avatarDavid Woodhouse <dwmw2@infradead.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b5122177
  6. 18 Jun, 2006 2 commits
    • David Woodhouse's avatar
      Basic implementation of 'make headers_check' · 68475359
      David Woodhouse authored
      
      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: default avatarDavid Woodhouse <dwmw2@infradead.org>
      68475359
    • David Woodhouse's avatar
      Basic implementation of 'make headers_install' · 8d730cfb
      David Woodhouse authored
      
      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: default avatarDavid Woodhouse <dwmw2@infradead.org>
      8d730cfb