aboutsummaryrefslogtreecommitdiffstats
path: root/tools/debugger
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-08-02 16:58:50 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-08-02 16:58:50 +0100
commit3ce7199378b9565ac31d1a9951cd9d8925b09dbb (patch)
tree5c45983b0f4fe932e78cfb5da95f8d2f57241844 /tools/debugger
parent89de5a8f164045da99b5dff2e6620c5c869ffb9c (diff)
downloadxen-3ce7199378b9565ac31d1a9951cd9d8925b09dbb.tar.gz
xen-3ce7199378b9565ac31d1a9951cd9d8925b09dbb.tar.bz2
xen-3ce7199378b9565ac31d1a9951cd9d8925b09dbb.zip
gdbsx: Install into correct directory $(SBINDIR)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/gdbsx/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/debugger/gdbsx/Makefile b/tools/debugger/gdbsx/Makefile
index 4b25454e03..ce206e2ea5 100644
--- a/tools/debugger/gdbsx/Makefile
+++ b/tools/debugger/gdbsx/Makefile
@@ -1,8 +1,6 @@
XEN_ROOT = ../../..
include ./Rules.mk
-sbindir=/usr/sbin
-
.PHONY: all
all:
$(MAKE) -C gx
@@ -16,8 +14,8 @@ clean:
.PHONY: install
install: all
- [ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
- $(INSTALL_PROG) gdbsx $(DESTDIR)$(sbindir)/gdbsx
+ [ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
+ $(INSTALL_PROG) gdbsx $(DESTDIR)$(SBINDIR)/gdbsx
gdbsx: gx/gx_all.a xg/xg_all.a
$(CC) -o $@ $^