]> git.neil.brown.name Git - history.git/commitdiff
kbuild: vmlinux.lds.s needs dependency on scripts/fixdep
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 17 Sep 2002 12:57:38 +0000 (07:57 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 17 Sep 2002 12:57:38 +0000 (07:57 -0500)
Sam Ravnborg:

Yep, "if_changed_dep" uses fixdep, so a dependency to scripts is needed.
Added echo_target as well, so the result file is printed as well.

Makefile

index 91f4d9d22bd728b1d801d89814015050b144c286..a59d19901aab293b30b2bd19acb03dda4c470e1d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -323,7 +323,7 @@ prepare: include/linux/version.h include/asm include/config/MARKER
 
 AFLAGS_vmlinux.lds.o += -P -C -U$(ARCH)
 
-arch/$(ARCH)/vmlinux.lds.s: arch/$(ARCH)/vmlinux.lds.S FORCE
+arch/$(ARCH)/vmlinux.lds.s: arch/$(ARCH)/vmlinux.lds.S scripts FORCE
        $(call if_changed_dep,as_s_S)
 
 targets += arch/$(ARCH)/vmlinux.lds.s
@@ -788,6 +788,7 @@ endif # ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 
 # FIXME Should go into a make.lib or something 
 # ===========================================================================
+echo_target = $(RELDIR)/$@
 
 a_flags = -Wp,-MD,$(depfile) $(AFLAGS) $(NOSTDINC_FLAGS) \
          $(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o)