From: David Schleef Date: Tue, 22 Jan 2002 00:55:33 +0000 (+0000) Subject: Fix export-objs being unconditionally recompiled X-Git-Tag: r0_7_62~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12bda315b6de762eec60fc40e3e3e634db7c269d;p=comedi.git Fix export-objs being unconditionally recompiled --- diff --git a/Rules.make b/Rules.make index 3983da95..ae1ffdbb 100644 --- a/Rules.make +++ b/Rules.make @@ -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)))' ; \