| #
b5122177 |
| 16-Sep-2006 |
David Woodhouse <[email protected]> |
[PATCH] Fix 'make headers_check' on biarch architectures
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
[PATCH] Fix 'make headers_check' on biarch architectures
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: David Woodhouse <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
show more ...
|
| #
68475359 |
| 18-Jun-2006 |
David Woodhouse <[email protected]> |
Basic implementation of 'make headers_check'
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 ot
Basic implementation of 'make headers_check'
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: David Woodhouse <[email protected]>
show more ...
|
| #
8d730cfb |
| 18-Jun-2006 |
David Woodhouse <[email protected]> |
Basic implementation of 'make headers_install'
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 'u
Basic implementation of 'make headers_install'
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 <[email protected]> Hacked about by David Woodhouse <[email protected]> Reviewed and cleaned up by Sam Ravnborg <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
show more ...
|