Fix export-objs being unconditionally recompiled
authorDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 00:55:33 +0000 (00:55 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 22 Jan 2002 00:55:33 +0000 (00:55 +0000)
Rules.make

index 3983da9537564a5cb07a9c975db392a433ba1796..ae1ffdbb0c0483ff946e3ed9c5c9564556947517 100644 (file)
@@ -278,7 +278,7 @@ $(TOPDIR)/include/linux/modversions.h:
 endif # CONFIG_MODVERSIONS
 
 ifneq "$(strip $(export-objs))" ""
-$(export-objs): $(export-objs:.o=.c) $(TOPDIR)/include/linux/modversions.h
+$(export-objs): $(export-objs:.o=.c) $(LINUXDIR)/include/linux/modversions.h
        $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -DEXPORT_SYMTAB -c $(@:.o=.c)
        @ ( \
            echo 'ifeq ($(strip $(subst $(comma),:,$(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -DEXPORT_SYMTAB)),$$(strip $$(subst $$(comma),:,$$(CFLAGS) $$(EXTRA_CFLAGS) $$(CFLAGS_$@) -DEXPORT_SYMTAB)))' ; \