debuggers.hg

changeset 21949:668f71224241

gdbsx: Install into correct directory $(SBINDIR)

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Aug 02 16:58:50 2010 +0100 (2010-08-02)
parents 2c6ae364ed7b
children 38aee6139719
files tools/debugger/gdbsx/Makefile
line diff
     1.1 --- a/tools/debugger/gdbsx/Makefile	Mon Aug 02 11:00:56 2010 +0100
     1.2 +++ b/tools/debugger/gdbsx/Makefile	Mon Aug 02 16:58:50 2010 +0100
     1.3 @@ -1,8 +1,6 @@
     1.4  XEN_ROOT = ../../..
     1.5  include ./Rules.mk
     1.6  
     1.7 -sbindir=/usr/sbin
     1.8 -
     1.9  .PHONY: all
    1.10  all:
    1.11  	$(MAKE) -C gx
    1.12 @@ -16,8 +14,8 @@ clean:
    1.13  
    1.14  .PHONY: install
    1.15  install: all
    1.16 -	[ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
    1.17 -	$(INSTALL_PROG) gdbsx $(DESTDIR)$(sbindir)/gdbsx
    1.18 +	[ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
    1.19 +	$(INSTALL_PROG) gdbsx $(DESTDIR)$(SBINDIR)/gdbsx
    1.20  
    1.21  gdbsx: gx/gx_all.a xg/xg_all.a 
    1.22  	$(CC) -o $@ $^