diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 07:31:46 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:46 -0500 |
commit | b9d36d5d000294a128f7f174fe67623a10e29d61 (patch) | |
tree | 49550dd227d6d8fac3121ddea0741f302c140780 | |
parent | 2f79e48ae2651fff08d08dab3acf1294467c1155 (diff) |
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 <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | fs/Kconfig.binfmt | 4 | ||||
-rw-r--r-- | fs/Makefile | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt index d4fc6095466d..7c3d5f923da1 100644 --- a/fs/Kconfig.binfmt +++ b/fs/Kconfig.binfmt | |||
@@ -23,6 +23,10 @@ config BINFMT_ELF | |||
23 | ld.so (check the file <file:Documentation/Changes> for location and | 23 | ld.so (check the file <file:Documentation/Changes> for location and |
24 | latest version). | 24 | latest version). |
25 | 25 | ||
26 | config COMPAT_BINFMT_ELF | ||
27 | bool | ||
28 | depends on COMPAT && MMU | ||
29 | |||
26 | config BINFMT_ELF_FDPIC | 30 | config BINFMT_ELF_FDPIC |
27 | bool "Kernel support for FDPIC ELF binaries" | 31 | bool "Kernel support for FDPIC ELF binaries" |
28 | default y | 32 | default y |
diff --git a/fs/Makefile b/fs/Makefile index 500cf15cdb4b..1e7a11bd4da1 100644 --- a/fs/Makefile +++ b/fs/Makefile | |||
@@ -39,6 +39,7 @@ obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o | |||
39 | obj-y += binfmt_script.o | 39 | obj-y += binfmt_script.o |
40 | 40 | ||
41 | obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o | 41 | obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o |
42 | obj-$(CONFIG_COMPAT_BINFMT_ELF) += compat_binfmt_elf.o | ||
42 | obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o | 43 | obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o |
43 | obj-$(CONFIG_BINFMT_SOM) += binfmt_som.o | 44 | obj-$(CONFIG_BINFMT_SOM) += binfmt_som.o |
44 | obj-$(CONFIG_BINFMT_FLAT) += binfmt_flat.o | 45 | obj-$(CONFIG_BINFMT_FLAT) += binfmt_flat.o |