xen/build: Fix dependency for the MAP rule
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Apr 2022 16:04:54 +0000 (17:04 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Apr 2022 18:10:59 +0000 (19:10 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile

index dd05672ff42d1c07f270715c287a6a81fce7005f..3a4e3bdd0f954dc2e90873bcc766ea678eb11051 100644 (file)
@@ -599,7 +599,7 @@ cscope:
        cscope -k -b -q
 
 .PHONY: _MAP
-_MAP:
+_MAP: $(TARGET)
        $(NM) -n $(TARGET)-syms | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' > System.map
 
 %.o %.i %.s: %.c tools_fixdep FORCE