diff -u --recursive --new-file linux-2.3.28/fs/Makefile linux/fs/Makefile
--- linux-2.3.28/fs/Makefile Tue Nov 2 07:42:10 1999
+++ linux/fs/Makefile Tue Nov 16 09:39:02 1999
@@ -265,14 +265,6 @@
endif
endif
-ifeq ($(CONFIG_BINFMT_ELF),y)
-BINFMTS += binfmt_elf.o
-else
- ifeq ($(CONFIG_BINFMT_ELF),m)
- M_OBJS += binfmt_elf.o
- endif
-endif
-
ifeq ($(CONFIG_BINFMT_AOUT),y)
BINFMTS += binfmt_aout.o
else
@@ -289,7 +281,6 @@
endif
endif
-
ifeq ($(CONFIG_BINFMT_MISC),y)
BINFMTS += binfmt_misc.o
else
@@ -300,5 +291,13 @@
# binfmt_script is always there
BINFMTS += binfmt_script.o
+
+ifeq ($(CONFIG_BINFMT_ELF),y)
+BINFMTS += binfmt_elf.o
+else
+ ifeq ($(CONFIG_BINFMT_ELF),m)
+ M_OBJS += binfmt_elf.o
+ endif
+endif
include $(TOPDIR)/Rules.make