Initialization ordering problem
Jonas Holmberg
jonas.holmberg at axis.com
Wed Mar 20 04:36:40 EST 2002
On Tue, 2002-03-19 at 20:11, William Jhun wrote:
> I may try this temporarily, but is this the "correct" way to deal with
> the problem? I'm not sure it would even work.
I don't know what it looks like in your arch-specific Makefile. But I
changed ours like this:
@@ -55,7 +55,8 @@
# each others config options
SUBDIRS += arch/cris/boot/rescue
endif
-CORE_FILES += arch/cris/kernel/kernel.o arch/cris/mm/mm.o
arch/cris/drivers/drivers.o
+CORE_FILES += arch/cris/kernel/kernel.o arch/cris/mm/mm.o
+DRIVERS += arch/cris/drivers/drivers.o
LIBGCC = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)
LIBS := $(TOPDIR)/arch/cris/lib/lib.a $(LIBS)
$(TOPDIR)/arch/cris/lib/lib.a $(LIBGCC)
Best regards
/Jonas
More information about the linux-mtd
mailing list