* [PATCH] modversions.h can be wrong.
@ 2001-08-30 23:40 Daniel Caujolle-Bert
0 siblings, 0 replies; only message in thread
From: Daniel Caujolle-Bert @ 2001-08-30 23:40 UTC (permalink / raw)
To: Linux Kernel
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
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.
--
73's de Daniel, F1RMB.
-=- Daniel Caujolle-Bert -=- segfault@club-internet.fr -=-
-=- f1rmb@f1rmb.ampr.org (AMPR NET) -=-
[-- Attachment #2: Rules.make.diff --]
[-- Type: text/plain, Size: 628 bytes --]
--- linux-2.4.9-ac4.vanilla/Rules.make Sat May 26 16:32:54 2001
+++ linux-2.4.9-ac4/Rules.make Fri Aug 31 01:39:45 2001
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-30 23:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-30 23:40 [PATCH] modversions.h can be wrong Daniel Caujolle-Bert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).