ia64/xen-unstable

diff config/StdGNU.mk @ 19628:23f9857f642f

tools: get rid of hardcoded config dirs

Remove *all* hardcoded "/etc/xen" strings in python code.

Additionally, it removes pygrub_path from osdep.py. Its use has been
replaced with auxbin.pathTo("pygrub").

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed May 20 15:27:30 2009 +0100 (2009-05-20)
parents b3daeb123b6f
children b55070edb185
line diff
     1.1 --- a/config/StdGNU.mk	Wed May 20 15:13:36 2009 +0100
     1.2 +++ b/config/StdGNU.mk	Wed May 20 15:27:30 2009 +0100
     1.3 @@ -40,6 +40,14 @@ SBINDIR = $(PREFIX)/sbin
     1.4  PRIVATE_PREFIX = $(LIBDIR)/xen
     1.5  PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
     1.6  
     1.7 +ifeq ($(PREFIX),/usr)
     1.8 +CONFIG_DIR = /etc
     1.9 +else
    1.10 +CONFIG_DIR = $(PREFIX)/etc
    1.11 +endif
    1.12 +XEN_CONFIG_DIR = $(CONFIG_DIR)/xen
    1.13 +XEN_SCRIPT_DIR = $(XEN_CONFIG_DIR)/scripts
    1.14 +
    1.15  SOCKET_LIBS =
    1.16  CURSES_LIBS = -lncurses
    1.17  PTHREAD_LIBS = -lpthread