All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix kallsyms dependency
@ 2004-08-08 11:32 Russell King
  2004-08-08 15:46 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King @ 2004-08-08 11:32 UTC (permalink / raw)
  To: Sam Ravnborg, Linux Kernel List

Hi,

It appears that kallsyms data is not updated if the kallsyms program is
changed.  The following patch adds an appropriate dependency.

(if we can make the kallsyms program depend on the targets generated by
it, could we drop it from being always built ?)

diff -up -x BitKeeper -x ChangeSet -x SCCS -x _xlk -x *.orig -x *.rej orig/Makefile linux/Makefile
--- orig/Makefile	Sun Aug  8 12:14:09 2004
+++ linux/Makefile	Sun Aug  8 12:24:27 2004
@@ -581,7 +581,7 @@ cmd_kallsyms = $(NM) -n $< | $(KALLSYMS)
 .tmp_kallsyms1.o .tmp_kallsyms2.o .tmp_kallsyms3.o: %.o: %.S scripts FORCE
 	$(call if_changed_dep,as_o_S)
 
-.tmp_kallsyms%.S: .tmp_vmlinux%
+.tmp_kallsyms%.S: .tmp_vmlinux% $(KALLSYMS)
 	$(call cmd,kallsyms)
 
 .tmp_vmlinux1: $(vmlinux-objs) arch/$(ARCH)/kernel/vmlinux.lds.s FORCE

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-08 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-08 11:32 [PATCH] Fix kallsyms dependency Russell King
2004-08-08 15:46 ` Sam Ravnborg
2004-08-08 15:54   ` Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.