x86: compat_binfmt_elf Kconfig

This adds Kconfig and Makefile bits to build fs/compat_binfmt_elf.c,
just added.  Each arch that wants to use this file needs to add a
"select COMPAT_BINFMT_ELF" line in its Kconfig bits that enable COMPAT.

Signed-off-by: Roland McGrath <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
Roland McGrath 2008-01-30 13:31:46 +01:00 • committed by Ingo Molnar
commit b9d36d5d00
2 changed files with 5 additions and 0 deletions

View file

@ -23,6 +23,10 @@ config BINFMT_ELF
ld.so (check the file <file:Documentation/Changes> for location and
latest version).
config COMPAT_BINFMT_ELF
bool
depends on COMPAT && MMU
config BINFMT_ELF_FDPIC
bool "Kernel support for FDPIC ELF binaries"
default y