Skip to contentSkip to conversation

modversions.h can be wrong.

PATCH New Daniel Caujolle-Bert 1 participant 1 message Aug 30, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 modversions.h can be wrong.

Hi Linus, Alan,

Can you apply this patch, it fix a problem with modversions.h
generation.

If you turn on module version information, doing make dep, everything is OK, but if you turn off this feature after, doing a make dep again, modversions.h isn't regenerated, so all version information header files are included.

Cheers.

Signature · 4 lines
73's de Daniel, F1RMB.

              -=- Daniel Caujolle-Bert -=- [email protected] -=-
                        -=- [email protected] (AMPR NET) -=-
Rules.make +2 -2
@@ -122,7 +122,7 @@
 #
 # This make dependencies quickly
 #
-fastdep: dummy
+fastdep: $(TOPDIR)/include/linux/modversions.h
 	$(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS) -- $(wildcard *.[chS]) > .depend
 ifdef ALL_SUB_DIRS
 	$(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)"
@@ -263,7 +263,7 @@
 
 else
 
-$(TOPDIR)/include/linux/modversions.h:
+$(TOPDIR)/include/linux/modversions.h: dummy
 	@echo "#include <linux/modsetver.h>" > $@
 
 endif # CONFIG_MODVERSIONS