OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [config/] [projpaths.py] - Blame information for rev 3

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
#! /usr/bin/env python2.6
2
# -*- mode: python; coding: utf-8; -*-
3
 
4
import os, sys, shelve, shutil
5
from os.path import join
6
 
7
# Way to get project root from any script importing this one :-)
8
PROJROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
9
 
10
BUILDDIR = join(PROJROOT, "build")
11
TOOLSDIR = join(PROJROOT, "tools")
12
CML2_CONFIG_SRCDIR = join(PROJROOT, "config/cml")
13
CML2_CONT_DEFFILE = join(PROJROOT, 'config/cml/container_ruleset.template')
14
CML2TOOLSDIR = join(TOOLSDIR, "cml2-tools")
15
CML2_COMPILED_RULES = join(BUILDDIR, "rules.compiled")
16
CML2_CONFIG_FILE = join(BUILDDIR, "config.cml")
17
CML2_CONFIG_FILE_SAVED = join(BUILDDIR, "config.cml.saved")
18
CML2_CONFIG_H = join(BUILDDIR, "config.h")
19
CML2_AUTOGEN_RULES = join(BUILDDIR, 'config.rules')
20
CONFIG_H = join("include/l4/config.h")
21
CONFIG_SHELVE_DIR = join(BUILDDIR, "configdata")
22
CONFIG_SHELVE_FILENAME = "configuration"
23
CONFIG_SHELVE = join(CONFIG_SHELVE_DIR, CONFIG_SHELVE_FILENAME)
24
KERNEL_CINFO_PATH = join(PROJROOT, "src/generic/cinfo.c")
25
LINUXDIR = join(PROJROOT, 'conts/linux')
26
LINUX_KERNELDIR = join(LINUXDIR, 'linux-2.6.33')
27
LINUX_ROOTFSDIR = join(LINUXDIR, 'rootfs')
28
LINUX_ATAGSDIR = join(LINUXDIR, 'atags')
29
 
30
POSIXDIR = join(PROJROOT, 'conts/posix')
31
POSIX_BOOTDESCDIR = join(POSIXDIR, 'bootdesc')
32
 
33
projpaths = {   \
34
    'LINUX_ATAGSDIR'  : LINUX_ATAGSDIR, \
35
    'LINUX_ROOTFSDIR' : LINUX_ROOTFSDIR, \
36
    'LINUX_KERNELDIR' : LINUX_KERNELDIR, \
37
    'LINUXDIR' : LINUXDIR, \
38
    'BUILDDIR' : BUILDDIR, \
39
    'POSIXDIR' : POSIXDIR, \
40
    'POSIX_BOOTDESCDIR' : POSIX_BOOTDESCDIR
41
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.