Avoid different spelling for the location of "xen-syms", and simply
use the dependency variable. This avoid the assumption about $(TARGET)
value.

Signed-off-by: Anthony PERARD <[email protected]>
Acked-by: Jan Beulich <[email protected]>
---

Notes:
    v7:
    - fix typo in title

 xen/arch/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
index dfcbd01bb4ed..29aa67ea371e 100644
--- a/xen/arch/x86/Makefile
+++ b/xen/arch/x86/Makefile
@@ -164,7 +164,7 @@ $(TARGET)-syms: prelink.o xen.lds
        rm -f $(@D)/.$(@F).[0-9]* $(@D)/..$(@F).[0-9]*
 
 note.o: $(TARGET)-syms
-       $(OBJCOPY) -O binary --only-section=.note.gnu.build-id  
$(BASEDIR)/xen-syms [email protected]
+       $(OBJCOPY) -O binary --only-section=.note.gnu.build-id $< [email protected]
        $(OBJCOPY) -I binary -O elf64-x86-64 -B i386:x86-64 \
                --rename-section=.data=.note.gnu.build-id -S [email protected] $@
        rm -f [email protected]
-- 
Anthony PERARD


Reply via email to